Skip to content

Commit

Permalink
Addressed comments: added to all deployments and daemonsets & fixed s…
Browse files Browse the repository at this point in the history
…pacing.
  • Loading branch information
musa-asad committed May 17, 2024
1 parent 06c7108 commit 5a4d29b
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ spec:
fieldRef:
fieldPath: metadata.namespace
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
tolerations: {{- toYaml . | nindent 2}}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,7 @@ spec:
tlsConfig: |
tls_server_config:
cert_file: /etc/amazon-cloudwatch-observability-dcgm-cert/server.crt
key_file: /etc/amazon-cloudwatch-observability-dcgm-cert/server.key
key_file: /etc/amazon-cloudwatch-observability-dcgm-cert/server.key
{{- with .Values.tolerations }}
tolerations: {{- toYaml . | nindent 2}}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ spec:
nodeSelector:
kubernetes.io/os: linux
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
tolerations: {{- toYaml . | nindent 6}}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,7 @@ spec:
"type": "neuron_hw_counters"
}
]
}
}
{{- with .Values.tolerations }}
tolerations: {{- toYaml . | nindent 2}}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ spec:
secretName: {{ template "amazon-cloudwatch-observability.certificateSecretName" . }}
nodeSelector:
kubernetes.io/os: linux
{{- with .Values.tolerations }}
tolerations: {{- toYaml . | nindent 6}}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ spec:
- name: RUN_AS_HOST_PROCESS_CONTAINER
value: "True"
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
tolerations: {{- toYaml . | nindent 2}}
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ spec:
dnsPolicy: ClusterFirstWithHostNet
serviceAccountName: {{ template "cloudwatch-agent.serviceAccountName" . }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
tolerations: {{- toYaml . | nindent 6}}
{{- end }}
{{- end }}

0 comments on commit 5a4d29b

Please sign in to comment.