stackspout/apps/support/zammad-kustomization.yaml

61 lines
1.4 KiB
YAML

apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: zammad
namespace: flux-system
spec:
interval: 10m
retryInterval: 2m
wait: true
timeout: 3m
dependsOn:
- name: single-sign-on
sourceRef:
kind: GitRepository
name: stackspout
path: ./basic/apps/name
prune: true
postBuild:
substituteFrom:
#- kind: Secret
# name: stackspin-zammad-variables
- kind: Secret
name: stackspin-zammad-oauth-variables
- kind: Secret
name: stackspin-cluster-variables
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
name: zammad
namespace: flux-system
spec:
interval: 5m
retryInterval: 2m
timeout: 10m
wait: true
prune: true
path: ./apps/support/zammad
sourceRef:
kind: GitRepository
name: stackspout
dependsOn:
- name: flux
- name: local-path-provisioner
- name: zammad-secrets
- name: nginx
- name: single-sign-on
postBuild:
substituteFrom:
- kind: Secret
name: stackspin-cluster-variables
- kind: ConfigMap
name: stackspin-zammad-kustomization-variables
- kind: Secret
name: stackspin-zammad-variables
# OIDC
- kind: Secret
name: stackspin-zammad-oauth-variables
- kind: ConfigMap
name: stackspin-single-sign-on-kustomization-variables