Files
cb43adce67 feat: Add custom resource health for flux resources (#19082)
* feat: Add custom resource health for flux resources

Signed-off-by: Adrian Berger <[email protected]>

* chore: Update upgrade docs

Signed-off-by: Adrian Berger <[email protected]>

---------

Signed-off-by: Adrian Berger <[email protected]>
Signed-off-by: Dan Garfield <[email protected]>
Co-authored-by: Dan Garfield <[email protected]>
2024-07-17 20:16:57 +03:00

55 lines
1.2 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: podinfo
namespace: default
spec:
interval: 10m
timeout: 5m
chart:
spec:
chart: podinfo
version: '6.5.*'
sourceRef:
kind: HelmRepository
name: podinfo
interval: 5m
releaseName: podinfo
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
test:
enable: true
driftDetection:
mode: enabled
ignore:
- paths: ["/spec/replicas"]
target:
kind: Deployment
values:
replicaCount: 2
status:
conditions:
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: Running 'upgrade' action with timeout of 5m0s
observedGeneration: 3
reason: Progressing
status: "True"
type: Reconciling
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: Running 'upgrade' action with timeout of 5m0s
observedGeneration: 3
reason: Progressing
status: Unknown
type: Ready
- lastTransitionTime: "2024-07-16T12:00:00Z"
message: Helm install succeeded for release default/podinfo.v1 with
chart [email protected]
observedGeneration: 1
reason: InstallSucceeded
status: "True"
type: Released