Cleaning up after application removal
This commit adds commands that run after the armada removal to delete the pvs that are linked to pvcs from the openstack namespace and then deletes the namespace. The ceph-etc configmap was also added to the rdb-provisioner chart to remove the manual workaround. Change-Id: I546cebee549bc3ef81693692579596d2d72ebf95 Story: 2003908 Task: 28130 Signed-off-by: Tyler Smith <tyler.smith@windriver.com>
This commit is contained in:
parent
c555c0968d
commit
41073fff02
|
@ -178,4 +178,20 @@ spec:
|
|||
- name: config-volume-{{- $root.Values.global.name }}
|
||||
mountPath: {{ $mount }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
---
|
||||
# This ConfigMap is needed because we're not using ceph's helm chart
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: ceph-etc
|
||||
# This is the name of the openstack application's namespace
|
||||
namespace: openstack
|
||||
data:
|
||||
ceph.conf: |
|
||||
[global]
|
||||
auth_supported = none
|
||||
{{ $monitors := $defaults.monitors }}{{ range $index, $element := $monitors}}
|
||||
[mon.{{- $index }}]
|
||||
mon_addr = {{ $element }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue