Skip to content

Commit

Permalink
Add note on production promotions
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
  • Loading branch information
stefanprodan committed Apr 10, 2024
1 parent 49d584b commit cdfd439
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ kind: HelmRelease
metadata:
name: ingress-nginx
spec:
chart:
spec:
version: ">=4.10.0"
values:
controller:
replicaCount: 2
Expand Down Expand Up @@ -187,6 +190,12 @@ NAME READY UP-TO-DATE
ingress-nginx-controller 2/2 2
```

> [!IMPORTANT]
> Note that on production clusters, it is recommended to pin the Helm chart to an exact
> version and to use a promotion workflow to test new versions on the staging cluster before
> deploying to production. For more information, see the guide
> [Promote Flux Helm Releases with GitHub Actions](https://fluxcd.io/flux/use-cases/gh-actions-helm-promotion/).

## Testing

After making changes to the manifests, you can validate them locally with [kubeconform](https://github.com/yannh/kubeconform) by running:
Expand Down

This file was deleted.

5 changes: 0 additions & 5 deletions clusters/production/infra-controllers/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,3 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ../../../deploy/infra-controllers
patches:
- target:
kind: HelmRelease
name: ingress-nginx
path: ingress-nginx-values.yaml

0 comments on commit cdfd439

Please sign in to comment.