Skip to content

Commit 2718933

Browse files
feat: feat/update-infra
1 parent 5190521 commit 2718933

4 files changed

Lines changed: 26 additions & 5 deletions

File tree

apps/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ App Helmfile templates.
1313
export RANCHER_PASSWORD=<REPLACE-ME>
1414

1515
helmfile apply -f \
16-
git::https://github.com/stuttgart-things/helm.git@apps/apps/homerun-base-stack.yaml.gotmpl \
16+
git::https://github.com/stuttgart-things/helm.git@apps/apps/rancher.yaml.gotmpl \
1717
--state-values-set issuerName=cluster-issuer-approle \
18-
--state-values-set domain=demo-infra.sthings-vsphere.labul.sva.de \ --state-values-set bootstrapPassword={{ env "RANCHER_PASSWORD" | default "hall01234R@ncher" }} \
18+
--state-values-set domain=demo-infra.sthings-vsphere.labul.sva.de \
19+
--state-values-set bootstrapPassword={{ env "RANCHER_PASSWORD" | default "hall01234R@ncher" }} \
1920
--state-values-set cacerts=LS0tLS1CRUdJTiBDRV#..
2021
```
2122

infra/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ EOF
7373
```bash
7474
kubectl apply -k https://github.com/stuttgart-things/helm/infra/crds/cert-manager
7575

76-
helmfile apply -f git::https://github.com/stuttgart-things/helm.git@infra/cert-manager.yaml.gotmpl --state-values-set installCrds=false
76+
helmfile apply -f git::https://github.com/stuttgart-things/helm.git@infra/cert-manager.yaml.gotmpl --state-values-set installCrds=false
7777
```
7878

7979
```bash

infra/ingress-nginx.yaml.gotmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ environments:
44
values:
55
- namespace: ingress-nginx
66
- version: 4.14.1
7-
- enableHostPort: false
7+
- enableKindHostPort: false
8+
- enableNodePort: false
89
---
910
releases:
1011
- name: ingress-nginx

infra/values/ingress-nginx.values.yaml.gotmpl

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if .Values.enableHostPort }}
1+
{{- if .Values.enableKindHostPort }}
22
---
33
controller:
44
nodeSelector:
@@ -16,3 +16,22 @@ controller:
1616
hostPort:
1717
enabled: true # Enables direct binding to host ports
1818
{{- end }}
19+
20+
21+
{{- if .Values.enableNodePort }}
22+
---
23+
controller:
24+
nodeSelector:
25+
ingress-ready: "true"
26+
node-role.kubernetes.io/control-plane: "true" # Matches real node
27+
tolerations:
28+
- key: "node-role.kubernetes.io/control-plane"
29+
operator: "Exists"
30+
effect: "NoSchedule"
31+
service:
32+
type: NodePort
33+
admissionWebhooks:
34+
enabled: false
35+
hostPort:
36+
enabled: true
37+
{{- end }}

0 commit comments

Comments
 (0)