Skip to content

Commit

Permalink
[fix] set default value for dns token to be the linode api token (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
amold1 authored Jun 27, 2024
1 parent a570ace commit 274497e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/default/linode-token-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ metadata:
name: manager-credentials
stringData:
apiToken: ${LINODE_TOKEN}
dnsToken: ${LINODE_DNS_TOKEN}
dnsToken: ${LINODE_DNS_TOKEN:=${LINODE_TOKEN}}
2 changes: 1 addition & 1 deletion templates/infra/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ metadata:
clusterctl.cluster.x-k8s.io/move: "true"
stringData:
apiToken: ${LINODE_TOKEN}
dnsToken: ${LINODE_DNS_TOKEN:-""}
dnsToken: ${LINODE_DNS_TOKEN:=${LINODE_TOKEN}}

0 comments on commit 274497e

Please sign in to comment.