Skip to content

Commit

Permalink
Addressing review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed Jul 31, 2024
1 parent 20b4099 commit 7158bfb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
14 changes: 10 additions & 4 deletions helm-charts/aerospike-cluster/templates/aerospike-cluster-cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ spec:
# Aerospike server docker image
image: {{ .Values.image.repository | default "aerospike/aerospike-server-enterprise" }}:{{ .Values.image.tag | default "7.1.0.0" }}

## maxUnavailable defines percentage/number of pods that can be allowed to go down or unavailable
## before application disruption.
maxUnavailable: {{ .Values.maxUnavailable }}

## Disable the PodDisruptionBudget creation for the Aerospike cluster.
disablePDB: {{ .Values.disablePDB }}

# Aerospike access control configuration
Expand Down Expand Up @@ -54,6 +57,7 @@ spec:

{{- end }}

## enableDynamicConfigUpdate enables dynamic config update flow of the operator.
enableDynamicConfigUpdate: {{ .Values.enableDynamicConfigUpdate }}

# Aerospike network policy
Expand Down Expand Up @@ -113,10 +117,12 @@ spec:
seedsFinderServices: {{- toYaml . | nindent 4 }}
{{- end }}

{{- if .Values.rosterNodeBlockList }}
rosterNodeBlockList: {{ .Values.rosterNodeBlockList }}
## rosterNodeBlockList is a list of blocked nodeIDs from roster in a strong-consistency setup
{{- with .Values.rosterNodeBlockList }}
rosterNodeBlockList: {{- toYaml . | nindent 4 }}
{{- end }}

{{- if .Values.k8sNodeBlockList }}
k8sNodeBlockList: {{ .Values.k8sNodeBlockList }}
## k8sNodeBlockList is a list of Kubernetes nodes which are not used for Aerospike pods.
{{- with .Values.k8sNodeBlockList }}
k8sNodeBlockList: {{- toYaml . | nindent 4 }}
{{- end }}
8 changes: 4 additions & 4 deletions helm-charts/aerospike-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ enableDynamicConfigUpdate: false

## rosterNodeBlockList is a list of blocked nodeIDs from roster in a strong-consistency setup
## Replace the value with aerospike node id which needs to be blocked.
rosterNodeBlockList:
- <aerospike-node-id>
rosterNodeBlockList: []
# - <aerospike-node-id>

## k8sNodeBlockList is a list of Kubernetes nodes which are not used for Aerospike pods.
## Replace the value with kubernetes cluster node name which needs to be blocked.
k8sNodeBlockList:
- <node-name>
k8sNodeBlockList: []
# - <node-name>

0 comments on commit 7158bfb

Please sign in to comment.