Keep cloud-config secret after chart delete
This commit is contained in:
parent
f46e1fa09f
commit
a61a283532
2
.github/workflows/publish-artifacts.yaml
vendored
2
.github/workflows/publish-artifacts.yaml
vendored
@ -85,4 +85,4 @@ jobs:
|
||||
- name: Publish charts
|
||||
run: ./scripts/publish-charts.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -4,6 +4,10 @@ kind: Secret
|
||||
metadata:
|
||||
name: {{ include "openstack-cluster.componentName" (list . "cloud-config") }}
|
||||
labels: {{ include "openstack-cluster.componentLabels" (list . "cloud-config") | nindent 4 }}
|
||||
# If the cloud-config is deleted before the cluster has finished deleting, then the cluster
|
||||
# deletion cannot proceed any further. So prevent Helm from deleting it.
|
||||
annotations:
|
||||
"helm.sh/resource-policy": keep
|
||||
stringData:
|
||||
# Just include the data for the cloud we will be using
|
||||
clouds.yaml: |
|
||||
|
Loading…
x
Reference in New Issue
Block a user