Skip to content

Commit

Permalink
Fix anvil zk port
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Gu <[email protected]>
  • Loading branch information
tylergu committed Oct 27, 2023
1 parent 8a6c558 commit 7fc5b91
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 8 deletions.
5 changes: 3 additions & 2 deletions data/anvil-zookeeper-operator/cr.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: anvil.dev/v1
kind: ZookeeperCluster
metadata:
name: test-cluster
name: zookeeper
spec:
replicas: 3
image: pravega/zookeeper:0.2.14
Expand Down Expand Up @@ -29,4 +29,5 @@ spec:
quorumListenOnAllIps: false
persistence:
enabled: true
storageSize: 20Gi
storageSize: 20Gi
storageClassName: standard
16 changes: 13 additions & 3 deletions data/anvil-zookeeper-operator/operator-crash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ spec:
type: string
default: {}
type: object
node_selector:
nodeSelector:
additionalProperties:
type: string
default: {}
Expand All @@ -571,7 +571,6 @@ spec:
- rule: "self == oldSelf"
message: changing persistence.enabled is not supported
storageClassName:
nullable: true
type: string
x-kubernetes-validations:
- rule: "self == oldSelf"
Expand All @@ -584,6 +583,7 @@ spec:
message: changing persistence.storageSize is not supported
required:
- enabled
- storageClassName
- storageSize
type: object
ports:
Expand Down Expand Up @@ -678,13 +678,23 @@ spec:
- ports
- replicas
type: object
status:
nullable: true
properties:
ready_replicas:
format: int32
type: integer
required:
- ready_replicas
type: object
required:
- spec
title: ZookeeperCluster
type: object
served: true
storage: true
subresources: {}
subresources:
status: {}
---
apiVersion: v1
kind: Namespace
Expand Down
16 changes: 13 additions & 3 deletions data/anvil-zookeeper-operator/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ spec:
type: string
default: {}
type: object
node_selector:
nodeSelector:
additionalProperties:
type: string
default: {}
Expand All @@ -571,7 +571,6 @@ spec:
- rule: "self == oldSelf"
message: changing persistence.enabled is not supported
storageClassName:
nullable: true
type: string
x-kubernetes-validations:
- rule: "self == oldSelf"
Expand All @@ -584,6 +583,7 @@ spec:
message: changing persistence.storageSize is not supported
required:
- enabled
- storageClassName
- storageSize
type: object
ports:
Expand Down Expand Up @@ -678,13 +678,23 @@ spec:
- ports
- replicas
type: object
status:
nullable: true
properties:
ready_replicas:
format: int32
type: integer
required:
- ready_replicas
type: object
required:
- spec
title: ZookeeperCluster
type: object
served: true
storage: true
subresources: {}
subresources:
status: {}
---
apiVersion: v1
kind: Namespace
Expand Down

0 comments on commit 7fc5b91

Please sign in to comment.