Skip to content

Commit

Permalink
Remove -pod suffix from non-pod resources
Browse files Browse the repository at this point in the history
  • Loading branch information
lindhe committed Nov 11, 2023
1 parent 26921cb commit 8a363c7
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions charts/core/templates/controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Deployment
metadata:
name: neuvector-controller-pod
name: neuvector-controller
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -78,7 +78,7 @@ spec:
serviceAccount: {{ .Values.serviceAccount }}
{{- end }}
containers:
- name: neuvector-controller-pod
- name: neuvector-controller
{{- if .Values.global.azure.enabled }}
image: "{{ .Values.global.azure.images.controller.registry }}/{{ .Values.global.azure.images.controller.image }}@{{ .Values.global.azure.images.controller.digest }}"
{{- else }}
Expand Down
4 changes: 2 additions & 2 deletions charts/core/templates/csp-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: neuvector-csp-pod
name: neuvector-csp
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -57,7 +57,7 @@ spec:
{{- else if and .Values.global.azure.enabled }}
image: "{{ .Values.global.azure.images.neuvector_csp_pod.registry }}/{{ .Values.global.azure.images.neuvector_csp_pod.image }}@{{ .Values.global.azure.images.neuvector_csp_pod.digest }}"
{{- end }}
name: neuvector-csp-pod
name: neuvector-csp
{{- if .Values.global.aws.enabled }}
imagePullPolicy: "{{ .Values.global.aws.image.imagePullPolicy }}"
{{- else if .Values.global.azure.enabled }}
Expand Down
4 changes: 2 additions & 2 deletions charts/core/templates/enforcer-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: DaemonSet
metadata:
name: neuvector-enforcer-pod
name: neuvector-enforcer
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -50,7 +50,7 @@ spec:
serviceAccount: {{ .Values.serviceAccount }}
{{- end }}
containers:
- name: neuvector-enforcer-pod
- name: neuvector-enforcer
{{- if .Values.global.azure.enabled }}
image: "{{ .Values.global.azure.images.enforcer.registry }}/{{ .Values.global.azure.images.enforcer.image }}@{{ .Values.global.azure.images.enforcer.digest }}"
{{- else }}
Expand Down
4 changes: 2 additions & 2 deletions charts/core/templates/manager-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Deployment
metadata:
name: neuvector-manager-pod
name: neuvector-manager
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -66,7 +66,7 @@ spec:
runAsUser: {{ .Values.manager.runAsUser }}
{{- end }}
containers:
- name: neuvector-manager-pod
- name: neuvector-manager
{{- if .Values.global.azure.enabled }}
image: "{{ .Values.global.azure.images.manager.registry }}/{{ .Values.global.azure.images.manager.image }}@{{ .Values.global.azure.images.manager.digest }}"
{{- else }}
Expand Down
4 changes: 2 additions & 2 deletions charts/core/templates/registry-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Deployment
metadata:
name: neuvector-registry-adapter-pod
name: neuvector-registry-adapter
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -66,7 +66,7 @@ spec:
runAsUser: {{ .Values.cve.adapter.runAsUser }}
{{- end }}
containers:
- name: neuvector-registry-adapter-pod
- name: neuvector-registry-adapter
{{- if eq .Values.registry "registry.neuvector.com" }}
{{- if .Values.oem }}
image: "{{ .Values.registry }}/{{ .Values.oem }}/registry-adapter:{{ .Values.cve.adapter.image.tag }}"
Expand Down
4 changes: 2 additions & 2 deletions charts/core/templates/scanner-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ apiVersion: extensions/v1beta1
{{- end }}
kind: Deployment
metadata:
name: neuvector-scanner-pod
name: neuvector-scanner
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -62,7 +62,7 @@ spec:
runAsUser: {{ .Values.cve.scanner.runAsUser }}
{{- end }}
containers:
- name: neuvector-scanner-pod
- name: neuvector-scanner
{{- if .Values.global.azure.enabled }}
image: "{{ .Values.global.azure.images.scanner.registry }}/{{ .Values.global.azure.images.scanner.image }}@{{ .Values.global.azure.images.scanner.digest }}"
{{- else }}
Expand Down
4 changes: 2 additions & 2 deletions charts/core/templates/updater-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ apiVersion: batch/v2alpha1
{{- end }}
kind: CronJob
metadata:
name: neuvector-updater-pod
name: neuvector-updater
namespace: {{ .Release.Namespace }}
labels:
chart: {{ template "neuvector.chart" . }}
Expand Down Expand Up @@ -54,7 +54,7 @@ spec:
runAsUser: {{ .Values.cve.updater.runAsUser }}
{{- end }}
containers:
- name: neuvector-updater-pod
- name: neuvector-updater
{{- if eq .Values.registry "registry.neuvector.com" }}
{{- if .Values.oem }}
image: "{{ .Values.registry }}/{{ .Values.oem }}/updater:{{ .Values.cve.updater.image.tag }}"
Expand Down

0 comments on commit 8a363c7

Please sign in to comment.