2022-06-29 21:33:54 +00:00
|
|
|
---
|
|
|
|
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
|
|
|
|
kind: Kustomization
|
|
|
|
metadata:
|
|
|
|
name: gitea
|
2022-06-29 21:49:04 +00:00
|
|
|
namespace: flux-system
|
2022-06-29 21:33:54 +00:00
|
|
|
spec:
|
2022-06-29 21:49:04 +00:00
|
|
|
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
|