-
Notifications
You must be signed in to change notification settings - Fork 134
/
helm-chart-config.yaml
48 lines (44 loc) · 1.41 KB
/
helm-chart-config.yaml
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
#
# Author: Hari Sekhon
# Date: 2023-04-29 23:57:49 +0100 (Sat, 29 Apr 2023)
#
# vim:ts=2:sts=2:sw=2:et
#
# https://github.com/HariSekhon/Kubernetes-configs
#
# License: see accompanying Hari Sekhon LICENSE file
#
# If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
#
# https://www.linkedin.com/in/HariSekhon
#
# ============================================================================ #
# H e l m C h a r t C o n f i g f o r K 3 s
# ============================================================================ #
# CRD for deploying Helm charts using the K3s Helm Controller:
#
# https://docs.k3s.io/helm
#
# https://github.com/k3s-io/helm-controller/
# cp to /var/lib/rancher/k3s/server/manifests/some-config.yaml
---
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: NAME # XXX: Edit eg. traefik - must match the NAME and NAMESPACE of the helm.cattle.io/v1/HelmChart resource it wants to override
namespace: helm-charts # deploy to a different namespace than the app for separation
spec:
valuesContent: |-
rbac:
enabled: true
ports:
websecure:
tls:
enabled: true
podAnnotations:
prometheus.io/port: "8082"
prometheus.io/scrape: "true"
providers:
kubernetesIngress:
publishedService:
enabled: true