Skip to content

Commit

Permalink
chore: update nic-configuration-operator to v0.1.4
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Maslennikov <[email protected]>
  • Loading branch information
almaslennikov committed Oct 17, 2024
1 parent 3c68d88 commit 4f30d5f
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ spec:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
{{- if .Values.logLevel}}
- name: LOG_LEVEL
value: {{ .Values.logLevel }}
{{- end}}
volumeMounts:
- name: sys
mountPath: /sys
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ spec:
capabilities:
drop:
- ALL
{{- if .Values.logLevel}}
env:
- 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 @@ -5,6 +5,12 @@ metadata:
labels:
{{- include "nic-configuration-operator.labels" . | nindent 4}}
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- apiGroups:
- ""
resources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
operator:
image:
# -- repository to use for the operator image
repository: ghcr.io/mellanox
name: nic-configuration-operator
# -- image tag to use for the operator image
tag: latest
# -- tolerations for the operator
tolerations:
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
- key: "node-role.kubernetes.io/control-plane"
operator: "Exists"
effect: "NoSchedule"
# -- node selector for the operator
nodeSelector: {}
# -- node affinity for the operator
affinity:
nodeAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
Expand All @@ -24,23 +29,30 @@ operator:
matchExpressions:
- key: "node-role.kubernetes.io/control-plane"
operator: Exists
# -- specify resource requests and limits for the operator
resources:
limits:
cpu: 500m
memory: 128Mi
requests:
cpu: 10m
memory: 64Mi
# -- operator deployment number of replicas
replicas: 1
serviceAccount:
# -- set annotations for the operator service account
annotations: {}

configDaemon:
image:
# -- repository to use for the config daemon image
repository: ghcr.io/mellanox
name: nic-configuration-operator-daemon
# -- image tag to use for the config daemon image
tag: latest
# -- node selector for the config daemon
nodeSelector: {}
# -- resources and limits for the config daemon
resources:
limits:
cpu: 500m
Expand All @@ -49,4 +61,7 @@ configDaemon:
cpu: 10m
memory: 64Mi

# -- log level configuration (debug|info)
logLevel: info
# -- image pull secrets for both the operator and the config daemon
imagePullSecrets: []
4 changes: 2 additions & 2 deletions deployment/network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,12 @@ nic-configuration-operator-chart:
image:
repository: ghcr.io/mellanox
name: nic-configuration-operator
tag: v0.1.1
tag: v0.1.4
configDaemon:
image:
repository: ghcr.io/mellanox
name: nic-configuration-operator-daemon
tag: v0.1.1
tag: v0.1.4

# General Operator related values
# The operator element allows to deploy network operator from an alternate location
Expand Down
4 changes: 2 additions & 2 deletions hack/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ rdmaCni:
nicConfigurationOperator:
image: nic-configuration-operator
repository: ghcr.io/mellanox
version: v0.1.1
version: v0.1.4
nicConfigurationConfigDaemon:
image: nic-configuration-operator-daemon
repository: ghcr.io/mellanox
version: v0.1.1
version: v0.1.4

0 comments on commit 4f30d5f

Please sign in to comment.