Skip to content

Commit 29cdc84

Browse files
committed
fix: Also update CRDs for the nic-configuration-operator
Signed-off-by: Tobias Giese <[email protected]>
1 parent a617750 commit 29cdc84

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ COPY deployment/network-operator/ ./network-operator-chart/
6060
RUN mkdir crds && \
6161
cp -r network-operator-chart/crds /workspace/crds/network-operator/ && \
6262
cp -r network-operator-chart/charts/sriov-network-operator/crds /workspace/crds/sriov-network-operator/ && \
63-
cp -r network-operator-chart/charts/node-feature-discovery/crds /workspace/crds/node-feature-discovery/
63+
cp -r network-operator-chart/charts/node-feature-discovery/crds /workspace/crds/node-feature-discovery/ && \
64+
cp -r network-operator-chart/charts/nic-configuration-operator-chart/crds /workspace/crds/nic-configuration-operator/
6465

6566
# Build
6667
ARG ARCH

deployment/network-operator/templates/upgrade-crd-hook.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,5 +90,8 @@ spec:
9090
{{- if .Values.nfd.enabled }}
9191
- --crds-dir=/crds/node-feature-discovery
9292
{{- end }}
93+
{{- if .Values.nicConfigurationOperator.enabled }}
94+
- --crds-dir=/crds/nic-configuration-operator
95+
{{- end }}
9396
restartPolicy: OnFailure
9497
{{- end }}

0 commit comments

Comments
 (0)