diff --git a/.changeset/nasty-needles-bathe.md b/.changeset/nasty-needles-bathe.md new file mode 100644 index 000000000..28638f3e0 --- /dev/null +++ b/.changeset/nasty-needles-bathe.md @@ -0,0 +1,5 @@ +--- +"chainlink-deployments-framework": minor +--- + +add CRE configuration fields to domain config diff --git a/engine/cld/config/domain/domain.go b/engine/cld/config/domain/domain.go index cdcd4f4b9..5f0cf5fec 100644 --- a/engine/cld/config/domain/domain.go +++ b/engine/cld/config/domain/domain.go @@ -32,10 +32,16 @@ func (d DatastoreType) IsValid() bool { return d == DatastoreTypeFile || d == DatastoreTypeCatalog || d == DatastoreTypeAll } +// CREConfig represents the CRE (Chainlink Runtime Environment) configuration. +type CREConfig struct { + Enabled bool `mapstructure:"enabled" yaml:"enabled"` +} + // Environment represents a single environment configuration. type Environment struct { NetworkTypes []string `mapstructure:"network_types" yaml:"network_types"` Datastore DatastoreType `mapstructure:"datastore" yaml:"datastore"` + CRE *CREConfig `mapstructure:"cre" yaml:"cre,omitempty"` } // validate validates the environment configuration.