airshipctl/manifests/function/helm-operator/deployment.yaml
Sean Eagan 50b240eb56 Update the Helm Operator to v1.2.0
This adds `helm test` integration as well as several bug fixes.

Release notes:
https://github.com/fluxcd/helm-operator/releases/tag/v1.2.0

The CRD updates were already included with the v1.1.0 change [0]
which was fine since they were backward compatible.

[0]: https://review.opendev.org/#/c/720298/

Relates-To: #343
Change-Id: If68297c9de347c1c95e68e1bbb6deeb0bded7678
2020-09-02 09:16:42 -05:00

57 lines
1.3 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-operator
namespace: flux
spec:
replicas: 1
selector:
matchLabels:
name: helm-operator
strategy:
type: Recreate
template:
metadata:
annotations:
prometheus.io/scrape: "true"
labels:
name: helm-operator
spec:
tolerations:
- key: node-role.kubernetes.io/master
effect: NoSchedule
containers:
- args:
- --enabled-helm-versions=v3
image: docker.io/fluxcd/helm-operator:1.2.0
imagePullPolicy: IfNotPresent
livenessProbe:
httpGet:
path: /healthz
port: 3030
initialDelaySeconds: 1
timeoutSeconds: 5
name: helm-operator
ports:
- containerPort: 3030
name: http
readinessProbe:
httpGet:
path: /healthz
port: 3030
initialDelaySeconds: 1
timeoutSeconds: 5
resources:
requests:
cpu: 50m
memory: 64Mi
serviceAccountName: helm-operator
# See https://github.com/fluxcd/flux/pull/2116
dnsPolicy: None
dnsConfig:
nameservers:
- 10.96.0.10
options:
- name: ndots
value: "1"