Skip to content

Commit

Permalink
Fixing NSNC chart
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankash-citrix committed May 23, 2024
1 parent b02cf1e commit 0d14e3f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion netscaler-node-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ maintainers:
name: netscaler-node-controller
sources:
- https://github.com/netscaler/netscaler-k8s-node-controller
version: 2.2.13
version: 2.2.14
4 changes: 2 additions & 2 deletions netscaler-node-controller/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ Create the name of the RBAC/ServiceAccount/ConfigMap/Prefix for router pods
Create the name of the ConfigMap that helm deploys and NSNC listens to add/delete configurations
*/}}
{{- define "netscaler-k8s-node-controller.nsncConfigMap" -}}
{{- if .Values.nsncConfigMap -}}
{{ .Values.nsncConfigMap | trunc 63 }}
{{- if .Values.nsncConfigMap.name -}}
{{ .Values.nsncConfigMap.name | trunc 63 }}
{{- else -}}
{{ include "netscaler-k8s-node-controller.fullname" . }}
{{- end -}}
Expand Down
6 changes: 3 additions & 3 deletions netscaler-node-controller/templates/config_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ kind: ConfigMap
metadata:
name: {{ include "netscaler-k8s-node-controller.nsncConfigMap" . }}
labels:
{{- include "netscaler-k8s-node-controller.labels" . | nindent 4 }}
{{- include "netscaler-k8s-node-controller.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
data:
data:
tolerations.json: |-
{{ .Values.nsncConfigMap.tolerationsInJson | toJson }}
{{ .Values.nsncConfigMap.tolerationsInJson | toJson }}

0 comments on commit 0d14e3f

Please sign in to comment.