2024-01-16 07:59:33 -05:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: {{ include "..fullname" . }}-operator
|
|
|
|
labels: {{- include "..labels" . | nindent 4 }}
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
{{- include "..selectorLabels" . | nindent 6 }}
|
|
|
|
component: operator
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
{{- include "..selectorLabels" . | nindent 8 }}
|
|
|
|
component: operator
|
|
|
|
spec:
|
|
|
|
serviceAccountName: {{ include "..fullname" . }}
|
|
|
|
automountServiceAccountToken: true
|
|
|
|
containers:
|
|
|
|
- name: operator
|
|
|
|
image: {{ .Values.image | quote }}
|
2024-02-15 07:08:27 -05:00
|
|
|
command: ["/bin/operator.sh"]
|
2024-01-16 07:59:33 -05:00
|
|
|
env: {{- include "..commonEnv" . | nindent 10 }}
|