Skip to content

Commit

Permalink
Also update CRDs for the nic-configuration-operator
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Giese <[email protected]>
  • Loading branch information
tobiasgiese committed Oct 31, 2024
1 parent a617750 commit bc03af3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ COPY deployment/network-operator/ ./network-operator-chart/
RUN mkdir crds && \
cp -r network-operator-chart/crds /workspace/crds/network-operator/ && \
cp -r network-operator-chart/charts/sriov-network-operator/crds /workspace/crds/sriov-network-operator/ && \
cp -r network-operator-chart/charts/node-feature-discovery/crds /workspace/crds/node-feature-discovery/
cp -r network-operator-chart/charts/node-feature-discovery/crds /workspace/crds/node-feature-discovery/ && \
cp -r network-operator-chart/charts/nic-configuration-operator-chart/crds /workspace/crds/nic-configuration-operator/

# Build
ARG ARCH
Expand Down
3 changes: 3 additions & 0 deletions deployment/network-operator/templates/upgrade-crd-hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,8 @@ spec:
{{- if .Values.nfd.enabled }}
- --crds-dir=/crds/node-feature-discovery
{{- end }}
{{- if .Values.nicConfigurationOperator.enabled }}
- --crds-dir=/crds/nic-configuration-operator
{{- end }}
restartPolicy: OnFailure
{{- end }}

0 comments on commit bc03af3

Please sign in to comment.