forked from Mellanox/network-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade nic-configuration-operator to v0.1.17
Signed-off-by: Alexander Maslennikov <[email protected]>
- Loading branch information
1 parent
f15f79c
commit 86976b4
Showing
6 changed files
with
76 additions
and
42 deletions.
There are no files selected for viewing
68 changes: 68 additions & 0 deletions
68
...ent/network-operator/charts/nic-configuration-operator-chart/templates/config-daemon.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: nic-configuration-daemon | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: nic-configuration-daemon | ||
app.kubernetes.io/created-by: nic-configuration-operator | ||
app.kubernetes.io/part-of: nic-configuration-operator | ||
{{- include "nic-configuration-operator.labels" . | nindent 4 }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
control-plane: nic-configuration-daemon | ||
{{- include "nic-configuration-operator.selectorLabels" . | nindent 6 }} | ||
template: | ||
metadata: | ||
annotations: | ||
kubectl.kubernetes.io/default-container: nic-configuration-daemon | ||
labels: | ||
control-plane: nic-configuration-daemon | ||
{{- include "nic-configuration-operator.selectorLabels" . | nindent 8 }} | ||
spec: | ||
nodeSelector: {{- toYaml .Values.operator.nodeSelector | nindent 8 }} | ||
serviceAccountName: {{ include "nic-configuration-operator.serviceAccountName" . }} | ||
terminationGracePeriodSeconds: 10 | ||
hostNetwork: true | ||
hostPID: true | ||
priorityClassName: system-node-critical | ||
containers: | ||
- image: "{{ .Values.configDaemon.image.repository }}/{{ .Values.configDaemon.image.name }}:{{ .Values.configDaemon.image.tag | default .Chart.AppVersion }}" | ||
name: nic-configuration-daemon | ||
securityContext: | ||
privileged: true | ||
resources: {{- toYaml .Values.configDaemon.resources | nindent 12 }} | ||
env: | ||
- name: NODE_NAME | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: spec.nodeName | ||
- name: NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
{{- if .Values.logLevel}} | ||
- name: LOG_LEVEL | ||
value: {{ .Values.logLevel }} | ||
{{- end}} | ||
volumeMounts: | ||
- name: sys | ||
mountPath: /sys | ||
readOnly: false | ||
- name: proc | ||
mountPath: /proc | ||
readOnly: false | ||
- name: host | ||
mountPath: /host | ||
readOnly: true | ||
volumes: | ||
- name: sys | ||
hostPath: | ||
path: /sys | ||
- name: proc | ||
hostPath: | ||
path: /proc | ||
- name: host | ||
hostPath: | ||
path: / |
20 changes: 0 additions & 20 deletions
20
...arts/nic-configuration-operator-chart/templates/nic-configuration-operator-configmap.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters