-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: NVSHAS-8682 remove misplaced resc from crds
In the previous charts, a service neuvector-svc-crd-webhook is misplaced in crds charts. This commit fixes the issue. Note: This change would affect upgrade. Users are advised to upgrade crds first before upgrade core in order to prevent resource conflict.
- Loading branch information
1 parent
3ddd337
commit 26df101
Showing
3 changed files
with
19 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.crdwebhook.enabled -}} | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: neuvector-svc-crd-webhook | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
chart: {{ template "neuvector.chart" . }} | ||
release: {{ .Release.Name }} | ||
spec: | ||
ports: | ||
- port: 443 | ||
targetPort: 30443 | ||
protocol: TCP | ||
name: crd-webhook | ||
type: {{ .Values.crdwebhook.type }} | ||
selector: | ||
app: neuvector-controller-pod | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters