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

36 lines
802 B
YAML
Raw Normal View History

2022-06-29 21:33:54 +00:00
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: gitea
namespace: flux-system
2022-06-29 21:33:54 +00:00
spec:
interval: 5m
2022-06-29 21:33:54 +00:00
timeout: 30m
dependsOn:
- name: single-sign-on
sourceRef:
kind: GitRepository
name: stackspout
2022-06-29 21:55:50 +00:00
path: ./basic/apps/dev
2022-06-29 21:33:54 +00:00
prune: true
# TODO what does this mean?
#validation: client
healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
name: gitea
namespace: stackspout
- apiVersion: apps/v1
kind: Deployment
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