production: adjust kustomization healthChecks

This commit is contained in:
xeruf 2022-06-30 14:13:50 +01:00
parent f357edf973
commit e0496141ee
3 changed files with 23 additions and 15 deletions

View File

@ -6,7 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 5m interval: 5m
timeout: 30m timeout: 12h
dependsOn: dependsOn:
- name: single-sign-on - name: single-sign-on
sourceRef: sourceRef:
@ -14,8 +14,6 @@ spec:
name: stackspout name: stackspout
path: ./basic/apps/dev path: ./basic/apps/dev
prune: true prune: true
# TODO what does this mean?
#validation: client
healthChecks: healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1 - apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
@ -23,6 +21,14 @@ spec:
namespace: stackspout namespace: stackspout
- apiVersion: apps/v1 - apiVersion: apps/v1
kind: Deployment kind: Deployment
name: gitea-memcached
namespace: stackspout
- apiVersion: apps/v1
kind: StatefulSet
name: gitea-postgresql
namespace: stackspout
- apiVersion: apps/v1
kind: StatefulSet
name: gitea name: gitea
namespace: stackspout namespace: stackspout
postBuild: postBuild:

View File

@ -6,7 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 5m interval: 5m
timeout: 30m timeout: 12h
dependsOn: dependsOn:
- name: single-sign-on - name: single-sign-on
sourceRef: sourceRef:
@ -14,8 +14,6 @@ spec:
name: stackspout name: stackspout
path: ./basic/apps/people path: ./basic/apps/people
prune: true prune: true
# TODO what does this mean?
#validation: client
healthChecks: healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1 - apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
@ -25,13 +23,15 @@ spec:
kind: Deployment kind: Deployment
name: suitecrm name: suitecrm
namespace: stackspout namespace: stackspout
- apiVersion: apps/v1
kind: StatefulSet
name: suitecrm-mariadb
namespace: stackspout
postBuild: postBuild:
substituteFrom: substituteFrom:
- kind: Secret #- kind: Secret
name: stackspin-suitecrm-variables # name: stackspin-suitecrm-variables
optional: true #- kind: Secret
- kind: Secret # name: stackspin-suitecrm-oauth-variables
name: stackspin-suitecrm-oauth-variables
optional: true
- kind: Secret - kind: Secret
name: stackspin-cluster-variables name: stackspin-cluster-variables

View File

@ -6,7 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 5m interval: 5m
timeout: 30m timeout: 12h
dependsOn: dependsOn:
- name: single-sign-on - name: single-sign-on
sourceRef: sourceRef:
@ -14,8 +14,6 @@ spec:
name: stackspout name: stackspout
path: ./basic/apps/do path: ./basic/apps/do
prune: true prune: true
# TODO what does this mean?
#validation: client
healthChecks: healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1 - apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease kind: HelmRelease
@ -25,6 +23,10 @@ spec:
kind: Deployment kind: Deployment
name: vikunja name: vikunja
namespace: stackspout namespace: stackspout
- apiVersion: apps/v1
kind: StatefulSet
name: gitea
namespace: stackspout
postBuild: postBuild:
substituteFrom: substituteFrom:
#- kind: Secret #- kind: Secret