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

41 lines
906 B
YAML

resources:
- namespace.yaml
- gitea-deployment.yaml
- drone-server-deployment.yaml
- drone-runner-deployment.yaml
- mariadb-deployment.yaml
secretGenerator:
- name: mariadb-credentials-secret
type: Opaque
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
namespace: gitea
vars:
- name: GITEA_EXTERNAL_HOST
objref:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
name: gitea-ingress
fieldref:
fieldpath: spec.rules[0].host
- name: DRONE_EXTERNAL_HOST
objref:
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
name: drone-ingress
fieldref:
fieldpath: spec.rules[0].host