Skip to content

Commit

Permalink
chore: upgrade nic-configuration-operator to v0.1.17
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Maslennikov <[email protected]>
  • Loading branch information
almaslennikov committed Feb 12, 2025
1 parent f15f79c commit 86976b4
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 42 deletions.
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: /

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ spec:
capabilities:
drop:
- ALL
{{- if .Values.logLevel}}
env:
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: LOG_LEVEL
value: {{ .Values.logLevel }}
{{- end}}
livenessProbe:
httpGet:
path: /healthz
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ rules:
- configmaps
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -105,15 +103,3 @@ rules:
- patch
- update
- watch
- apiGroups:
- apps
resources:
- daemonsets
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
4 changes: 2 additions & 2 deletions deployment/network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ nic-configuration-operator-chart:
image:
repository: ghcr.io/mellanox
name: nic-configuration-operator
tag: v0.1.15
tag: v0.1.17
configDaemon:
image:
repository: ghcr.io/mellanox
name: nic-configuration-operator-daemon
tag: v0.1.15
tag: v0.1.17

# Maintenance Operator chart related values.
maintenance-operator-chart:
Expand Down
4 changes: 2 additions & 2 deletions hack/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ rdmaCni:
nicConfigurationOperator:
image: nic-configuration-operator
repository: ghcr.io/mellanox
version: v0.1.15
version: v0.1.17
nicConfigurationConfigDaemon:
image: nic-configuration-operator-daemon
repository: ghcr.io/mellanox
version: v0.1.15
version: v0.1.17
maintenanceOperator:
image: maintenance-operator
repository: ghcr.io/mellanox
Expand Down

0 comments on commit 86976b4

Please sign in to comment.