1
0
Fork 0
home-stack-kustomize/kustomize/bases/gitea/kustomization.yaml

38 lines
812 B
YAML
Raw Normal View History

2020-05-01 22:08:35 +00:00
resources:
- gitea-deployment.yaml
2021-08-26 16:42:21 +00:00
- gitea-ingress.yaml
2020-05-01 22:08:35 +00:00
namePrefix: gitea-
2023-02-05 03:11:39 +00:00
commonLabels:
app.kubernetes.io/name: gitea
app.kubernetes.io/component: server
2021-08-26 16:42:21 +00:00
# secretGenerator:
2021-08-28 03:54:21 +00:00
# - name: postgres-credentials
2021-08-26 16:42:21 +00:00
# type: Opaque
# behavior: create
# literals:
# - host=172.18.1.2:5432
# - database=gitea
# - username=gitea
# - password=changeme
configMapGenerator:
- name: kustomize-generated-config
literals:
- GITEA_EXTERNAL_HOST=code.badjware.dev
- GITEA_EXTERNAL_URL=https://code.badjware.dev
replacements:
- source:
kind: ConfigMap
name: kustomize-generated-config
fieldPath: data.GITEA_EXTERNAL_HOST
targets:
- select:
kind: Ingress
name: server
fieldPaths:
- spec.rules.0.host