Skip to content

Commit

Permalink
stacks: update node default image
Browse files Browse the repository at this point in the history
  • Loading branch information
mFarghaly committed Apr 27, 2024
1 parent cd5a536 commit 8ba4d78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apis/stacks/v1alpha1/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion apis/stacks/v1alpha1/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ type StacksNetwork string
const (
Mainnet StacksNetwork = "mainnet"
Testnet StacksNetwork = "testnet"
Xenon StacksNetwork = "xenon"
)

// BitcoinNode is Bitcoin node
Expand All @@ -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"`
Expand Down
1 change: 1 addition & 0 deletions config/crd/bases/stacks.kotal.io_nodes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ spec:
enum:
- mainnet
- testnet
- xenon
type: string
nodePrivateKeySecretName:
description: NodePrivateKeySecretName is k8s secret holding node private
Expand Down

0 comments on commit 8ba4d78

Please sign in to comment.