-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
83 lines (83 loc) · 2.51 KB
/
helmrelease.yaml
File metadata and controls
83 lines (83 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app kromgo
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
values:
controllers:
kromgo:
replicas: 1
strategy: RollingUpdate
annotations:
reloader.stakater.com/auto: "true"
containers:
kromgo:
image:
repository: ghcr.io/kashalls/kromgo
tag: v0.10.0@sha256:965ecc92d68dc1a4a969397855367bbc70da03227a941ea607b73bb7e0b78fd6
env:
PROMETHEUS_URL: http://prometheus-operated.observability.svc.cluster.local:9090
SERVER_HOST: 0.0.0.0
SERVER_PORT: &port 8080
HEALTH_HOST: 0.0.0.0
HEALTH_PORT: &hport 8888
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities: { drop: ["ALL"] }
resources:
limits: &resources
memory: 64Mi
requests:
<<: *resources
cpu: 10m
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
path: /healthz
port: *hport
readiness: *probes
pod:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app.kubernetes.io/name: *app
service:
kromgo:
ports:
http:
port: *port
primary: true
health:
port: *hport
route:
external:
annotations:
external-dns/is-public: "true"
external-dns.alpha.kubernetes.io/target: external.zinn.ca
gatus.home-operations.com/endpoint: |-
conditions: ["[STATUS] == 200"]
hostnames: ["{{ .Release.Name }}.zinn.ca"]
parentRefs:
- name: envoy-external
namespace: network
persistence:
config-file:
type: configMap
name: kromgo-configmap
globalMounts:
- path: /kromgo/config.yaml
subPath: config.yaml
readOnly: true