Skip to content

Commit

Permalink
Adding missing fields in aerospike-cluster-cr.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed Jul 29, 2024
1 parent 13514b7 commit 3c4b4bb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ metadata:

spec:
# Aerospike cluster size
size: {{ .Values.replicas | default 3 }}
size: {{ .Values.replicas }}

# Aerospike server docker image
image: {{ .Values.image.repository | default "aerospike/aerospike-server-enterprise" }}:{{ .Values.image.tag | default "7.1.0.0" }}

maxUnavailable: {{ .Values.maxUnavailable }}

disablePDB: {{ .Values.disablePDB }}

# Aerospike access control configuration
{{- with .Values.aerospikeAccessControl }}
aerospikeAccessControl: {{- toYaml . | nindent 4 }}
Expand Down Expand Up @@ -50,6 +54,8 @@ spec:

{{- end }}

enableDynamicConfigUpdate: {{ .Values.enableDynamicConfigUpdate }}

# Aerospike network policy
{{- with .Values.aerospikeNetworkPolicy }}
aerospikeNetworkPolicy: {{- toYaml . | nindent 4 }}
Expand Down Expand Up @@ -106,3 +112,11 @@ spec:
{{- with .Values.seedsFinderServices }}
seedsFinderServices: {{- toYaml . | nindent 4 }}
{{- end }}

{{- if .Values.rosterNodeBlockList }}
rosterNodeBlockList: {{ .Values.rosterNodeBlockList }}
{{- end }}

{{- if .Values.k8sNodeBlockList }}
k8sNodeBlockList: {{ .Values.k8sNodeBlockList }}
{{- end }}
2 changes: 1 addition & 1 deletion helm-charts/aerospike-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ image:
tag: 7.1.0.0

## In case the above image is pulled from a registry that requires
## authentication, a secret containining credentials can be added
## authentication, a secret containing credentials can be added
## imagePullSecrets:
## - secret_with_credentials_to_custom_registry
imagePullSecrets: {}
Expand Down
2 changes: 1 addition & 1 deletion helm-charts/aerospike-kubernetes-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ operatorImage:
pullPolicy: IfNotPresent

## In case the above image is pulled from a registry that requires
## authentication, a secret containining credentials can be added
## authentication, a secret containing credentials can be added
## imagePullSecrets:
## - secret_with_credentials_to_custom_registry
imagePullSecrets: {}
Expand Down

0 comments on commit 3c4b4bb

Please sign in to comment.