Sean Eagan d64404864b Update Flux manifests
This updates the Flux manifests to the latest versions, which includes
a fix [0] to Helm chart rendering which was impacting the OSH charts.

[0]: https://github.com/fluxcd/helm-controller/pull/172

This also adds Kptfiles to each of the functions to make it trivial
to update them.

Relates-To: #430
Change-Id: Ic12bc6a8460542fd943ed3539cf1be19b6525dbc
2021-01-05 13:58:03 -06:00

65 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: helm-controller
labels:
control-plane: controller
spec:
selector:
matchLabels:
app: helm-controller
replicas: 1
template:
metadata:
labels:
app: helm-controller
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "8080"
spec:
terminationGracePeriodSeconds: 10
containers:
- name: manager
image: fluxcd/helm-controller
imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
ports:
- containerPort: 8080
name: http-prom
- containerPort: 9440
name: healthz
protocol: TCP
env:
- name: RUNTIME_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
args:
- --watch-all-namespaces
- --log-level=info
- --log-json
- --enable-leader-election
readinessProbe:
httpGet:
path: /readyz
port: healthz
livenessProbe:
httpGet:
path: /healthz
port: healthz
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 64Mi
volumeMounts:
- name: temp
mountPath: /tmp
volumes:
- name: temp
emptyDir: {}