gitea-k8s/example-overlay/kustomization.yaml

35 lines
891 B
YAML

apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: gitea
bases:
- https://github.com/coopgo/gitea-k8s
# Use Bitnami Sealed Secrets https://github.com/bitnami-labs/sealed-secrets instead of a real secret (or create it with Kustomize's generateSecret https://kubernetes.io/docs/tasks/configmap-secret/managing-secret-using-kustomize/)
resources:
- sealed-gitea-config.yaml
# If you want to override other files for templates for example
#
# configMapGenerator:
# - name: public-files-configmap
# files:
# - public/img/logo.svg
# - name: templates-files-configmap
# files:
# - templates/home.tmpl
patchesJson6902:
- path: service-patch.yaml
target:
version: v1
kind: Service
name: gitea
- path: deployment-patch.yaml
target:
version: v1
group: apps
kind: Deployment
name: gitea