-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathkustomization.yaml
More file actions
50 lines (48 loc) · 999 Bytes
/
kustomization.yaml
File metadata and controls
50 lines (48 loc) · 999 Bytes
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
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- home-assistant/
- mosquitto/
- metallb/
- nginx/
configMapGenerator:
- behavior: replace
literals:
- TZ="Europe/Budapest"
name: home-assistant-config
patches:
- patch: |-
- op: replace
path: /spec/tls/0/hosts/0
value: ha.example.com
- op: replace
path: /spec/tls/0/secretName
value: ha.example.com-production-secret
- op: replace
path: /spec/rules/0/host
value: ha.example.com
target:
kind: Ingress
name: home-assistant
version: v1
- patch: |-
- op: replace
path: /spec/addresses/0
value: 10.1.1.10/32
target:
kind: IPAddressPool
name: iot
- patch: |-
- op: replace
path: /spec/addresses/0
value: 192.168.1.10/32
target:
kind: IPAddressPool
name: lan
- patch: |-
- op: replace
path: /spec/loadBalancerIP
value: 10.1.1.10
target:
kind: Service
name: ingress-nginx-controller