mirror of https://git.rancher.io/charts
32 lines
832 B
YAML
32 lines
832 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: fleet-controller
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: fleet-controller
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: fleet-controller
|
|
spec:
|
|
containers:
|
|
- env:
|
|
- name: NAMESPACE
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: metadata.namespace
|
|
image: '{{ template "system_default_registry" . }}{{ .Values.image.repository }}:{{ .Values.image.tag }}'
|
|
name: fleet-controller
|
|
imagePullPolicy: "{{ .Values.image.imagePullPolicy }}"
|
|
serviceAccountName: fleet-controller
|
|
{{- with .Values.tolerations }}
|
|
tolerations:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|
|
{{- with .Values.nodeSelector }}
|
|
nodeSelector:
|
|
{{- toYaml . | nindent 8 }}
|
|
{{- end }}
|