Skip to content
Snippets Groups Projects
core.yaml 1.27 KiB
Newer Older
Maarten de Waard's avatar
Maarten de Waard committed
apiVersion: kustomize.toolkit.fluxcd.io/v1beta1
kind: Kustomization
metadata:
  name: core
  namespace: flux-system
spec:
  dependsOn:
    - name: infrastructure
  interval: 1h
Maarten de Waard's avatar
Maarten de Waard committed
  sourceRef:
    kind: GitRepository
Maarten de Waard's avatar
Maarten de Waard committed
  path: ./flux2/core
  prune: true
  validation: client
  postBuild:
    substituteFrom:
      - kind: Secret
        name: stackspin-dashboard-variables
Maarten de Waard's avatar
Maarten de Waard committed
      - kind: Secret
        name: stackspin-single-sign-on-variables
Maarten de Waard's avatar
Maarten de Waard committed
      - kind: Secret
        name: stackspin-oauth-variables
Maarten de Waard's avatar
Maarten de Waard committed
      - kind: Secret
        name: stackspin-cluster-variables
  healthChecks:
    - apiVersion: helm.toolkit.fluxcd.io/v1beta1
      kind: HelmRelease
      name: metallb
      namespace: kube-system
    - apiVersion: helm.toolkit.fluxcd.io/v1beta1
      kind: HelmRelease
      name: nginx
      namespace: stackspin
    - apiVersion: helm.toolkit.fluxcd.io/v1beta1
      kind: HelmRelease
      name: single-sign-on
      namespace: stackspin
    - apiVersion: apps/v1
      kind: Deployment
      name: single-sign-on-userbackend
      namespace: stackspin
    - apiVersion: apps/v1
      kind: Deployment
      name: single-sign-on-hydra
      namespace: stackspin
    - apiVersion: apps/v1
      kind: Deployment
      name: single-sign-on-login
      namespace: stackspin