File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
manifests/cloudnativepg-operator Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # CloudnativePG Operator Kustomize
2+
3+
4+ ## Upgrading manifests
5+
6+ 1 . Fetch new release manifest
7+
8+ - Navigate to repository https://github.com/cloudnative-pg/cloudnative-pg
9+
10+ - Go To ` releases ` directory
11+
12+ - Change the branch to the desired tag _ Tag sgould match the desired release_
13+
14+ - click on the file that matches the release version
15+
16+ - copy the permalink raw URL
17+
18+ Keep a copy of this url so it can be added to the commit message. Doing this will allow validity checking if required.
19+
20+ 1 . split the manifest
21+
22+ From the apps dir ` manifests/<app name> ` run:
23+
24+ ``` bash
25+
26+ docker run -ti \
27+ -e " KUBECTL_SLICE_INPUT_FILE=<Raw URL of manifest>" \
28+ -e " KUBECTL_SLICE_OUTPUT_DIR=base/" \
29+ -v manifests/cloudnativepg-operator:/workdir \
30+ --rm \
31+ nofusscomputing/kubernetes-manifest-tools:latest
32+
33+ ```
34+
35+ 1. update the Base kustomization
36+
37+ From the apps dir ` manifests/< app name> ` run:
38+
39+ ` ` ` bash
40+
41+ ansible-playbook ../../../../other/kubernetes-manifest-tools/collection/playbooks/update-kustomize.yaml \
42+ --extra-vars " namespace=operators" \
43+ --extra-vars " manifest_dir=${PWD} /base"
44+
45+ ` ` `
You can’t perform that action at this time.
0 commit comments