Skip to content

Commit

Permalink
Merge pull request #110 from fluxcd/docs-add-ns
Browse files Browse the repository at this point in the history
Add namespace to API docs examples
  • Loading branch information
stefanprodan authored Oct 13, 2020
2 parents 6402c7d + 6a51152 commit a449a59
Showing 1 changed file with 30 additions and 22 deletions.
52 changes: 30 additions & 22 deletions docs/spec/v2beta1/helmreleases.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The `HelmRelease` API defines a resource for automated controller driven Helm re

## Specification

A **helmrelease** object defines a resource for controller driven reconciliation
A **HelmRelease** object defines a resource for controller driven reconciliation
of Helm releases via Helm actions such as install, upgrade, test, uninstall, and rollback.
This includes release placement (namespace/name), release content (chart/values overrides),
action trigger configuration, individual action configuration, and statusing.
Expand Down Expand Up @@ -656,6 +656,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: backend
namespace: default
spec:
interval: 5m
chart:
Expand All @@ -665,6 +666,7 @@ spec:
sourceRef:
kind: HelmRepository
name: podinfo
namespace: default
interval: 1m
upgrade:
remediation:
Expand All @@ -683,6 +685,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: frontend
namespace: default
spec:
interval: 5m
chart:
Expand All @@ -692,6 +695,7 @@ spec:
sourceRef:
kind: HelmRepository
name: podinfo
namespace: default
interval: 1m
dependsOn:
- backend
Expand Down Expand Up @@ -731,6 +735,7 @@ apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: podinfo
namespace: default
spec:
interval: 5m
chart:
Expand All @@ -740,6 +745,7 @@ spec:
sourceRef:
kind: HelmRepository
name: podinfo
namespace: default
interval: 1m
test:
enable: true
Expand Down Expand Up @@ -773,28 +779,30 @@ to true if at least one retry is configured.
apiVersion: helm.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: podinfo
name: podinfo
namespace: default
spec:
interval: 5m
chart:
spec:
chart: podinfo
version: '>=4.0.0 <5.0.0'
sourceRef:
kind: HelmRepository
name: podinfo
interval: 1m
install:
remediation:
retries: 3
upgrade:
remediation:
remediateLastFailure: false
values:
resources:
requests:
cpu: 100m
memory: 64Mi
interval: 5m
chart:
spec:
chart: podinfo
version: '>=4.0.0 <5.0.0'
sourceRef:
kind: HelmRepository
name: podinfo
namespace: default
interval: 1m
install:
remediation:
retries: 3
upgrade:
remediation:
remediateLastFailure: false
values:
resources:
requests:
cpu: 100m
memory: 64Mi
```

## Status
Expand Down

0 comments on commit a449a59

Please sign in to comment.