diff --git a/apis/stacks/v1alpha1/defaults.go b/apis/stacks/v1alpha1/defaults.go index a2d6d14e..b198fa73 100644 --- a/apis/stacks/v1alpha1/defaults.go +++ b/apis/stacks/v1alpha1/defaults.go @@ -13,7 +13,7 @@ const ( const ( // DefaultStacksNodeImage is the default Stacks node client image - DefaultStacksNodeImage = "kotalco/stacks:2.4.0.0.0" + DefaultStacksNodeImage = "kotalco/stacks:v2.5.0.0.3" ) // Resources diff --git a/apis/stacks/v1alpha1/node.go b/apis/stacks/v1alpha1/node.go index fd6f8cd4..7b19f009 100644 --- a/apis/stacks/v1alpha1/node.go +++ b/apis/stacks/v1alpha1/node.go @@ -11,6 +11,7 @@ type StacksNetwork string const ( Mainnet StacksNetwork = "mainnet" Testnet StacksNetwork = "testnet" + Xenon StacksNetwork = "xenon" ) // BitcoinNode is Bitcoin node @@ -37,7 +38,7 @@ type NodeSpec struct { // +kubebuilder:validation:Enum=0;1 Replicas *uint `json:"replicas,omitempty"` // Network is stacks network - // +kubebuilder:validation:Enum=mainnet;testnet + // +kubebuilder:validation:Enum=mainnet;testnet;xenon Network StacksNetwork `json:"network"` // RPC enables JSON-RPC server RPC bool `json:"rpc,omitempty"` diff --git a/config/crd/bases/stacks.kotal.io_nodes.yaml b/config/crd/bases/stacks.kotal.io_nodes.yaml index 2ff70302..afb07c3a 100644 --- a/config/crd/bases/stacks.kotal.io_nodes.yaml +++ b/config/crd/bases/stacks.kotal.io_nodes.yaml @@ -90,6 +90,7 @@ spec: enum: - mainnet - testnet + - xenon type: string nodePrivateKeySecretName: description: NodePrivateKeySecretName is k8s secret holding node private