Externalize networking (welcome Wild Central!)

This commit is contained in:
2026-07-10 03:49:38 +00:00
parent bb5a76b864
commit dc5518b57f
143 changed files with 691 additions and 1379 deletions

View File

@@ -3,10 +3,6 @@ kind: Ingress
metadata:
name: ohmyform
namespace: {{ .namespace }}
annotations:
external-dns.alpha.kubernetes.io/target: {{ .externalDnsDomain }}
external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
external-dns.alpha.kubernetes.io/ttl: "60"
spec:
ingressClassName: traefik
rules:
@@ -27,7 +23,3 @@ spec:
name: ohmyform-ui
port:
number: 4000
tls:
- hosts:
- {{ .domain }}
secretName: {{ .tlsSecretName }}

View File

@@ -1,26 +1,25 @@
version: 1.0.3-2
version: 1.0.3-3
requires:
- name: postgres
- name: redis
- name: postgres
- name: redis
defaultConfig:
namespace: ohmyform
externalDnsDomain: "{{ .cloud.domain }}"
domain: ohmyform.{{ .cloud.domain }}
tlsSecretName: wildcard-wild-cloud-tls
adminEmail: "{{ .operator.email }}"
adminEmail: '{{ .operator.email }}'
db:
host: "{{ .apps.postgres.host }}"
port: "{{ .apps.postgres.port }}"
host: '{{ .apps.postgres.host }}'
port: '{{ .apps.postgres.port }}'
name: ohmyform
user: ohmyform
redis:
host: "{{ .apps.redis.host }}"
host: '{{ .apps.redis.host }}'
defaultSecrets:
- key: dbPassword
- key: dbUrl
default: "postgresql://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host }}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable"
- key: secretKey
- key: adminPassword
- key: dbPassword
- key: dbUrl
default: postgresql://{{ .app.db.user }}:{{ .secrets.dbPassword }}@{{ .app.db.host
}}:{{ .app.db.port }}/{{ .app.db.name }}?sslmode=disable
- key: secretKey
- key: adminPassword
requiredSecrets:
- postgres.password
- redis.password
- postgres.password
- redis.password