refactor rancher HelmRelease values to use Secret for bootstrap password
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user