github.com/oam-dev/cluster-gateway@v1.9.0/charts/addon-manager/templates/addon-manager.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: cluster-gateway-addon-manager 5 namespace: {{ .Release.Namespace }} 6 labels: 7 app: cluster-gateway-addon-manager 8 spec: 9 replicas: {{ .Values.replicas }} 10 selector: 11 matchLabels: 12 app: cluster-gateway-addon-manager 13 template: 14 metadata: 15 labels: 16 app: cluster-gateway-addon-manager 17 spec: 18 serviceAccount: cluster-gateway-addon-manager 19 containers: 20 - name: cluster-gateway-addon-manager 21 image: {{ .Values.image }}:{{ .Values.tag | default (print "v" .Chart.Version) }} 22 imagePullPolicy: IfNotPresent 23 args: 24 - --leader-elect=true