File tree Expand file tree Collapse file tree 7 files changed +200
-156
lines changed
distros/kubernetes/nvsentinel/charts/csp-health-monitor
health-monitors/csp-health-monitor/pkg Expand file tree Collapse file tree 7 files changed +200
-156
lines changed Original file line number Diff line number Diff line change 5555 - name : {{ .Chart.Name }}
5656 image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default ((.Values.global).image).tag | default .Chart.AppVersion }}"
5757 imagePullPolicy : {{ .Values.image.pullPolicy }}
58- command : ["/app/csp-health-monitor"]
5958 args :
6059 - " --config=/etc/config/config.toml"
6160 - " --metrics-port={{ ((.Values.global).metricsPort) | default 2112 }}"
@@ -81,11 +80,10 @@ spec:
8180 optional : true
8281
8382 - name : maintenance-notifier
84- image : " {{ .Values.image.repository }}:{{ .Values.image.tag | default ((.Values.global).image).tag | default .Chart.AppVersion }}"
85- imagePullPolicy : {{ .Values.image.pullPolicy }}
83+ image : " {{ .Values.quarantineTriggerEngine. image.repository }}:{{ .Values.image.tag | default ((.Values.global).image).tag | default .Chart.AppVersion }}"
84+ imagePullPolicy : {{ .Values.quarantineTriggerEngine.image.pullPolicy | default .Values. image.pullPolicy }}
8685 securityContext :
8786 runAsUser : 0
88- command : ["/app/maintenance-notifier"]
8987 args :
9088 - " --config=/etc/config/config.toml"
9189 - " --mongo-client-cert-mount-path=/etc/ssl/mongo-client"
Original file line number Diff line number Diff line change @@ -23,6 +23,6 @@ metadata:
2323 iam.gke.io/gcp-service-account : {{ .Values.configToml.gcp.gcpServiceAccountName }}@{{ .Values.configToml.gcp.targetProjectId }}.iam.gserviceaccount.com
2424 {{- end }}
2525 {{- if and (eq .Values.cspName "aws") .Values.configToml.aws .Values.configToml.aws.accountId .Values.configToml.clusterName }}
26- eks.amazonaws.com/role-arn : arn:aws:iam::{{ .Values.configToml.aws.accountId }}:role/{{ .Values.configToml.clusterName }}-health-monitor
26+ eks.amazonaws.com/role-arn : arn:aws:iam::{{ .Values.configToml.aws.accountId }}:role/{{ .Values.configToml.clusterName }}-nvsentinel- health-monitor-assume-role-policy
2727 {{- end }}
28- {{- end }}
28+ {{- end }}
Original file line number Diff line number Diff line change @@ -29,6 +29,9 @@ resources:
2929
3030# Configuration for the Quarantine Trigger Engine sidecar
3131quarantineTriggerEngine :
32+ image :
33+ repository : ghcr.io/nvidia/nvsentinel/maintenance-notifier
34+ pullPolicy : IfNotPresent
3235 resources :
3336 limits :
3437 cpu : " 500m"
You can’t perform that action at this time.
0 commit comments