Skip to content

Commit 4354098

Browse files
committed
chore: upgrade the sn-operator to 0.7 (#60)
Signed-off-by: ericsyh <[email protected]> (cherry picked from commit 8d4b44d)
1 parent 02cef3d commit 4354098

5 files changed

+254
-5
lines changed

charts/sn-operator/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: v0.2.3
18+
version: v0.2.4
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "v0.6.15"
24+
appVersion: "v0.7.1"
2525

2626
# This is a semver range of compatible Kubernetes versions. Helm will validate the version
2727
# constraints when installing the chart and fail if the cluster runs an unsupported Kubernetes version

charts/sn-operator/crds/k8s.streamnative.io_oxiaclusters.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3771,6 +3771,13 @@ spec:
37713771
type: string
37723772
type: object
37733773
type: object
3774+
serviceURLGenerationPolicy:
3775+
default: FQDN
3776+
description: ServiceURLGenerationPolicy defines how the service url
3777+
should be generated
3778+
enum:
3779+
- FQDN
3780+
type: string
37743781
type: object
37753782
status:
37763783
description: OxiaClusterStatus defines the observed state of OxiaCluster
@@ -3848,6 +3855,25 @@ spec:
38483855
x-kubernetes-list-map-keys:
38493856
- type
38503857
x-kubernetes-list-type: map
3858+
coordinatorStatus:
3859+
description: CoordinatorStatus is the current coordinator status of
3860+
the cluster
3861+
properties:
3862+
onMeshReplicas:
3863+
description: OnMeshReplicas is the number of Pods with service
3864+
mesh enabled
3865+
format: int32
3866+
type: integer
3867+
readyReplicas:
3868+
format: int32
3869+
type: integer
3870+
replica:
3871+
format: int32
3872+
type: integer
3873+
required:
3874+
- readyReplicas
3875+
- replica
3876+
type: object
38513877
namespaces:
38523878
description: Namespaces is the status of the namespaces in the oxia
38533879
cluster
@@ -3880,6 +3906,11 @@ spec:
38803906
serverStatus:
38813907
description: ServerStatus is the current server status of the cluster
38823908
properties:
3909+
onMeshReplicas:
3910+
description: OnMeshReplicas is the number of Pods with service
3911+
mesh enabled
3912+
format: int32
3913+
type: integer
38833914
readyReplicas:
38843915
format: int32
38853916
type: integer

charts/sn-operator/crds/k8s.streamnative.io_oxianamespaces.yaml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ spec:
4040
description: OxiaNamespaceSpec defines the desired state of OxiaNamespace
4141
properties:
4242
clusterRef:
43-
description: ClusterRef defines the reference to the oxia cluster
43+
description: ClusterRef is the reference to the oxia cluster
4444
properties:
4545
name:
4646
type: string
@@ -53,20 +53,34 @@ spec:
5353
namespaceConfig:
5454
properties:
5555
initialShardCount:
56-
default: 3
56+
default: 1
5757
format: int32
5858
minimum: 0
5959
type: integer
6060
name:
6161
type: string
62+
notificationsEnabled:
63+
default: true
64+
type: boolean
6265
replicationFactor:
63-
default: 1
66+
default: 3
6467
format: int32
6568
minimum: 0
6669
type: integer
6770
required:
6871
- name
6972
type: object
73+
ownerRef:
74+
description: OwnerRef is the reference to the owner broker cluster
75+
properties:
76+
name:
77+
type: string
78+
namespace:
79+
type: string
80+
required:
81+
- name
82+
- namespace
83+
type: object
7084
required:
7185
- clusterRef
7286
- namespaceConfig

charts/sn-operator/crds/pulsar.streamnative.io_pulsarbrokerrevisions.yaml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4439,6 +4439,26 @@ spec:
44394439
otherwise the builtin worker service is used
44404440
type: string
44414441
type: object
4442+
loadManagerType:
4443+
description: LoadManagerType defines the configuration of load
4444+
balancer
4445+
enum:
4446+
- extensibleLoadManager
4447+
- modularLoadManager
4448+
type: string
4449+
oxiaBasedSystemTopic:
4450+
description: OxiaBasedSystemTopic defines the configuration of
4451+
oxia based system topic
4452+
nullable: true
4453+
properties:
4454+
enabled:
4455+
description: Enabled defines whether to enable oxia based
4456+
system topic
4457+
type: boolean
4458+
schemaStorageUrl:
4459+
description: SchemaStorageUrl defines the schema storage url
4460+
type: string
4461+
type: object
44424462
placementPolicy:
44434463
description: |-
44444464
PlacementPolicy defines the placement policy of the broker
@@ -4658,6 +4678,34 @@ spec:
46584678
description: ConfigurationStoreConfig defines the configuration store
46594679
configuration
46604680
properties:
4681+
oxia:
4682+
properties:
4683+
authParams:
4684+
description: AuthParams is the auth params for the oxia service
4685+
type: string
4686+
authPluginClassName:
4687+
description: AuthPluginClassName is the auth plugin class
4688+
name for the oxia service
4689+
type: string
4690+
custom:
4691+
additionalProperties:
4692+
type: string
4693+
description: Custom allows to customize oxia configurations
4694+
directly.
4695+
type: object
4696+
enableTls:
4697+
description: EnableTls is the flag to enable tls for the oxia
4698+
service
4699+
type: boolean
4700+
namespace:
4701+
description: Namespace is the namespace of the oxia service
4702+
type: string
4703+
serviceAddress:
4704+
description: |-
4705+
ServiceAddress is the address of the oxia service
4706+
e.g. oxia-service:port
4707+
type: string
4708+
type: object
46614709
zk:
46624710
properties:
46634711
certSecretName:
@@ -5044,6 +5092,60 @@ spec:
50445092
golang template syntax
50455093
type: string
50465094
type: object
5095+
metadataStoreConfig:
5096+
description: MetadataStoreConfig defines the metadata store configuration
5097+
properties:
5098+
oxia:
5099+
properties:
5100+
authParams:
5101+
description: AuthParams is the auth params for the oxia service
5102+
type: string
5103+
authPluginClassName:
5104+
description: AuthPluginClassName is the auth plugin class
5105+
name for the oxia service
5106+
type: string
5107+
custom:
5108+
additionalProperties:
5109+
type: string
5110+
description: Custom allows to customize oxia configurations
5111+
directly.
5112+
type: object
5113+
enableTls:
5114+
description: EnableTls is the flag to enable tls for the oxia
5115+
service
5116+
type: boolean
5117+
namespace:
5118+
description: Namespace is the namespace of the oxia service
5119+
type: string
5120+
serviceAddress:
5121+
description: |-
5122+
ServiceAddress is the address of the oxia service
5123+
e.g. oxia-service:port
5124+
type: string
5125+
type: object
5126+
zk:
5127+
properties:
5128+
certSecretName:
5129+
description: |-
5130+
CertSecretName is the name of the secret that contains the zk client certificate
5131+
if set this, client will use mutual tls, otherwise, client will use simple tls
5132+
type: string
5133+
clusterIndex:
5134+
description: |-
5135+
ClusterIndex is the index of the zookeeper cluster in the zookeeper clusters list
5136+
to check if the cluster is the client of shared zk
5137+
format: int32
5138+
type: integer
5139+
domain:
5140+
description: Domain is the host of the shared zookeeper cluster
5141+
type: string
5142+
serverPort:
5143+
description: ServerPort is the port of the shared zookeeper
5144+
cluster
5145+
format: int32
5146+
type: integer
5147+
type: object
5148+
type: object
50475149
metadataStoreUrl:
50485150
description: MetadataStoreUrl defines the metadata store url
50495151
nullable: true

charts/sn-operator/crds/pulsar.streamnative.io_pulsarbrokers.yaml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5036,6 +5036,26 @@ spec:
50365036
otherwise the builtin worker service is used
50375037
type: string
50385038
type: object
5039+
loadManagerType:
5040+
description: LoadManagerType defines the configuration of load
5041+
balancer
5042+
enum:
5043+
- extensibleLoadManager
5044+
- modularLoadManager
5045+
type: string
5046+
oxiaBasedSystemTopic:
5047+
description: OxiaBasedSystemTopic defines the configuration of
5048+
oxia based system topic
5049+
nullable: true
5050+
properties:
5051+
enabled:
5052+
description: Enabled defines whether to enable oxia based
5053+
system topic
5054+
type: boolean
5055+
schemaStorageUrl:
5056+
description: SchemaStorageUrl defines the schema storage url
5057+
type: string
5058+
type: object
50395059
placementPolicy:
50405060
description: |-
50415061
PlacementPolicy defines the placement policy of the broker
@@ -5255,6 +5275,34 @@ spec:
52555275
description: ConfigurationStoreConfig defines the configuration store
52565276
configuration
52575277
properties:
5278+
oxia:
5279+
properties:
5280+
authParams:
5281+
description: AuthParams is the auth params for the oxia service
5282+
type: string
5283+
authPluginClassName:
5284+
description: AuthPluginClassName is the auth plugin class
5285+
name for the oxia service
5286+
type: string
5287+
custom:
5288+
additionalProperties:
5289+
type: string
5290+
description: Custom allows to customize oxia configurations
5291+
directly.
5292+
type: object
5293+
enableTls:
5294+
description: EnableTls is the flag to enable tls for the oxia
5295+
service
5296+
type: boolean
5297+
namespace:
5298+
description: Namespace is the namespace of the oxia service
5299+
type: string
5300+
serviceAddress:
5301+
description: |-
5302+
ServiceAddress is the address of the oxia service
5303+
e.g. oxia-service:port
5304+
type: string
5305+
type: object
52585306
zk:
52595307
properties:
52605308
certSecretName:
@@ -8742,6 +8790,60 @@ spec:
87428790
golang template syntax
87438791
type: string
87448792
type: object
8793+
metadataStoreConfig:
8794+
description: MetadataStoreConfig defines the metadata store configuration
8795+
properties:
8796+
oxia:
8797+
properties:
8798+
authParams:
8799+
description: AuthParams is the auth params for the oxia service
8800+
type: string
8801+
authPluginClassName:
8802+
description: AuthPluginClassName is the auth plugin class
8803+
name for the oxia service
8804+
type: string
8805+
custom:
8806+
additionalProperties:
8807+
type: string
8808+
description: Custom allows to customize oxia configurations
8809+
directly.
8810+
type: object
8811+
enableTls:
8812+
description: EnableTls is the flag to enable tls for the oxia
8813+
service
8814+
type: boolean
8815+
namespace:
8816+
description: Namespace is the namespace of the oxia service
8817+
type: string
8818+
serviceAddress:
8819+
description: |-
8820+
ServiceAddress is the address of the oxia service
8821+
e.g. oxia-service:port
8822+
type: string
8823+
type: object
8824+
zk:
8825+
properties:
8826+
certSecretName:
8827+
description: |-
8828+
CertSecretName is the name of the secret that contains the zk client certificate
8829+
if set this, client will use mutual tls, otherwise, client will use simple tls
8830+
type: string
8831+
clusterIndex:
8832+
description: |-
8833+
ClusterIndex is the index of the zookeeper cluster in the zookeeper clusters list
8834+
to check if the cluster is the client of shared zk
8835+
format: int32
8836+
type: integer
8837+
domain:
8838+
description: Domain is the host of the shared zookeeper cluster
8839+
type: string
8840+
serverPort:
8841+
description: ServerPort is the port of the shared zookeeper
8842+
cluster
8843+
format: int32
8844+
type: integer
8845+
type: object
8846+
type: object
87458847
metadataStoreUrl:
87468848
description: MetadataStoreUrl defines the metadata store url
87478849
nullable: true

0 commit comments

Comments
 (0)