refactor rancher HelmRelease values to use Secret for bootstrap password

This commit is contained in:
2025-05-01 15:36:20 +05:30
parent d15598154c
commit ad6d155710

View File

@@ -23,7 +23,8 @@ spec:
retries: 3 retries: 3
values: values:
hostname: rancher.akshun-lab.uk hostname: rancher.akshun-lab.uk
bootstrapPassword: |
{{ (lookup "v1" "Secret" "cattle-system" "rancher-bootstrap-secret").data.password | b64dec }}
service: service:
type: NodePort type: NodePort
valuesFrom:
- kind: Secret
name: rancher-bootstrap-secret