Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update nic-configuration-operator to v0.1.4 #1104

Merged
merged 1 commit into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading