-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathhelmrelease.yaml
More file actions
105 lines (105 loc) · 3.12 KB
/
Copy pathhelmrelease.yaml
File metadata and controls
105 lines (105 loc) · 3.12 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s-labs/helm-charts/app-template-4.5.0/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: homepage
spec:
interval: 30m
chartRef:
kind: OCIRepository
name: homepage
values:
controllers:
homepage:
annotations:
secret.reloader.stakater.com/reload: &secret homepage-secret
configmap.reloader.stakater.com/reload: &configmap homepage-config
strategy: RollingUpdate
containers:
app:
image:
repository: ghcr.io/gethomepage/homepage
tag: v1.10.1
env:
TZ: America/New_York
HOMEPAGE_ALLOWED_HOSTS: lab.mafyuh.dev
envFrom:
- secretRef:
name: *secret
probes:
liveness: &probes
enabled: true
custom: true
spec:
httpGet:
port: 3000
path: /api/healthcheck
httpHeaders:
- name: Host
value: lab.mafyuh.dev
initialDelaySeconds: 0
readiness: *probes
startup: *probes
serviceAccount:
identifier: homepage
service:
app:
controller: homepage
ports:
http:
port: 3000
route:
app:
hostnames: ["lab.mafyuh.dev"]
parentRefs:
- name: envoy-external
namespace: kube-system
sectionName: https
persistence:
config:
enabled: true
type: configMap
name: *configmap
globalMounts:
- subPath: bookmarks.yaml
path: /app/config/bookmarks.yaml
- subPath: docker.yaml
path: /app/config/docker.yaml
- subPath: proxmox.yaml
path: /app/config/proxmox.yaml
- subPath: kubernetes.yaml
path: /app/config/kubernetes.yaml
- subPath: services.yaml
path: /app/config/services.yaml
- subPath: settings.yaml
path: /app/config/settings.yaml
- subPath: widgets.yaml
path: /app/config/widgets.yaml
serviceAccount:
homepage: {}
rbac:
bindings:
homepage:
type: ClusterRoleBinding
roleRef:
kind: ClusterRole
name: homepage
subjects:
- identifier: homepage
roles:
homepage:
type: ClusterRole
rules:
- apiGroups: [""]
resources: [namespaces, pods, nodes]
verbs: [get, list]
- apiGroups: [metrics.k8s.io]
resources: [nodes, pods]
verbs: [get, list]
- apiGroups: [apiextensions.k8s.io]
resources: [customresourcedefinitions/status]
verbs: [get]
- apiGroups: [gateway.networking.k8s.io]
resources: [httproutes, gateways]
verbs: [get, list]