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

38 lines
846 B
YAML

resources:
- gitea-deployment.yaml
- drone-server-deployment.yaml
- drone-runner-deployment.yaml
secretGenerator:
- name: mariadb-credentials-secret
type: Opaque
behavior: create
literals:
- database=gitea
- username=gitea
- password=replaceme
- name: drone-secret
type: Opaque
literals:
- rpc_secret=replaceme
- name: drone-gitea-oauth-secret
type: Opaque
literals:
- client_id=replaceme
- client_secret=replaceme
vars:
- name: GITEA_EXTERNAL_HOST
objref:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
name: gitea
fieldref:
fieldpath: spec.rules[0].host
- name: DRONE_EXTERNAL_HOST
objref:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
name: drone
fieldref:
fieldpath: spec.rules[0].host