production: simplify health checks

According to https://fluxcd.io/docs/components/kustomize/kustomization/#recommended-settings
This commit is contained in:
xeruf 2022-07-01 22:03:53 +01:00
parent bcaafa4af5
commit 3ca1dbbcbe
3 changed files with 47 additions and 44 deletions

View File

@ -6,6 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 5m interval: 5m
wait: true
timeout: 12h timeout: 12h
dependsOn: dependsOn:
- name: single-sign-on - name: single-sign-on
@ -14,23 +15,23 @@ spec:
name: stackspout name: stackspout
path: ./basic/apps/dev path: ./basic/apps/dev
prune: true prune: true
healthChecks: #healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1 # - apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease # kind: HelmRelease
name: gitea # name: gitea
namespace: stackspout # namespace: stackspout
- apiVersion: apps/v1 # - apiVersion: apps/v1
kind: Deployment # kind: Deployment
name: gitea-memcached # name: gitea-memcached
namespace: stackspout # namespace: stackspout
- apiVersion: apps/v1 # - apiVersion: apps/v1
kind: StatefulSet # kind: StatefulSet
name: gitea-postgresql # name: gitea-postgresql
namespace: stackspout # namespace: stackspout
- apiVersion: apps/v1 # - apiVersion: apps/v1
kind: StatefulSet # kind: StatefulSet
name: gitea # name: gitea
namespace: stackspout # namespace: stackspout
postBuild: postBuild:
substituteFrom: substituteFrom:
#- kind: Secret #- kind: Secret

View File

@ -6,6 +6,7 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 5m interval: 5m
wait: true
timeout: 12h timeout: 12h
dependsOn: dependsOn:
- name: single-sign-on - name: single-sign-on
@ -14,19 +15,19 @@ spec:
name: stackspout name: stackspout
path: ./basic/apps/people path: ./basic/apps/people
prune: true prune: true
healthChecks: #healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1 # - apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease # kind: HelmRelease
name: suitecrm # name: suitecrm
namespace: stackspout # namespace: stackspout
- apiVersion: apps/v1 # #- apiVersion: apps/v1
kind: Deployment # # kind: Deployment
name: suitecrm # # name: suitecrm
namespace: stackspout # # namespace: stackspout
- apiVersion: apps/v1 # - apiVersion: apps/v1
kind: StatefulSet # kind: StatefulSet
name: suitecrm-mariadb # name: suitecrm-mariadb
namespace: stackspout # namespace: stackspout
postBuild: postBuild:
substituteFrom: substituteFrom:
#- kind: Secret #- kind: Secret

View File

@ -6,7 +6,8 @@ metadata:
namespace: flux-system namespace: flux-system
spec: spec:
interval: 5m interval: 5m
timeout: 12h wait: true
timeout: 300m
dependsOn: dependsOn:
- name: single-sign-on - name: single-sign-on
sourceRef: sourceRef:
@ -14,19 +15,19 @@ spec:
name: stackspout name: stackspout
path: ./basic/apps/do path: ./basic/apps/do
prune: true prune: true
healthChecks: #healthChecks:
- apiVersion: helm.toolkit.fluxcd.io/v2beta1 # - apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease # kind: HelmRelease
name: vikunja # name: vikunja
namespace: stackspout # namespace: stackspout
- apiVersion: apps/v1 # - apiVersion: apps/v1
kind: Deployment # kind: Deployment
name: vikunja # name: vikunja
namespace: stackspout # namespace: stackspout
- apiVersion: apps/v1 # - apiVersion: apps/v1
kind: StatefulSet # kind: StatefulSet
name: gitea # name: gitea
namespace: stackspout # namespace: stackspout
postBuild: postBuild:
substituteFrom: substituteFrom:
#- kind: Secret #- kind: Secret