stackspout/basic/clusters/production/gitea-kustomization.yaml

42 lines
963 B
YAML

---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: gitea
namespace: flux-system
spec:
interval: 5m
timeout: 12h
dependsOn:
- name: single-sign-on
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/apps/dev
prune: true
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: gitea
namespace: stackspout
- apiVersion: apps/v1
kind: Deployment
name: gitea-memcached
namespace: stackspout
- apiVersion: apps/v1
kind: StatefulSet
name: gitea-postgresql
namespace: stackspout
- apiVersion: apps/v1
kind: StatefulSet
name: gitea
namespace: stackspout
postBuild:
substituteFrom:
#- kind: Secret
# name: stackspin-gitea-variables
- kind: Secret
name: stackspin-gitea-oauth-variables
- kind: Secret
name: stackspin-cluster-variables