try using lookup for secret
This commit is contained in:
@@ -23,11 +23,8 @@ spec:
|
|||||||
retries: 3
|
retries: 3
|
||||||
values:
|
values:
|
||||||
hostname: rancher.akshun-lab.uk
|
hostname: rancher.akshun-lab.uk
|
||||||
bootstrapPassword:
|
bootstrapPassword: |
|
||||||
valueFrom:
|
{{ (lookup "v1" "Secret" "cattle-system" "rancher-bootstrap-secret").data.password | b64dec }}
|
||||||
secretKeyRef:
|
|
||||||
name: rancher-bootstrap-secret
|
|
||||||
key: password
|
|
||||||
service:
|
service:
|
||||||
type: NodePort
|
type: NodePort
|
||||||
nodePort: 90
|
nodePort: 90
|
||||||
|
|||||||
Reference in New Issue
Block a user