Fix formatting

This commit is contained in:
Amarpreet Minhas 2022-12-30 23:07:55 +00:00
parent 55a6f2f3ff
commit e92f54473f
5 changed files with 5 additions and 6 deletions

View file

@ -27,7 +27,7 @@ helm upgrade --install \
--cleanup-on-fail --cleanup-on-fail
HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+')
TOKEN="$(kubectl get secret serviceaccounttoken -n gitea -o go-template='{{ .data.token }}' | base64 -d)" TOKEN="$(kubectl get secret serviceaccounttoken -n gitea -o go-template='{{ .data.token }}' | base64 -d)"
vault write auth/${VAULT_AUTH_NAMESPACE}/role/gitea \ vault write auth/${VAULT_AUTH_NAMESPACE}/role/gitea \
bound_service_account_names=gitea \ bound_service_account_names=gitea \

View file

@ -20,7 +20,7 @@ helm upgrade --install \
--cleanup-on-fail --cleanup-on-fail
HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+')
TOKEN="$(kubectl get secret serviceaccounttoken -n miniflux -o go-template='{{ .data.token }}' | base64 -d)" TOKEN="$(kubectl get secret serviceaccounttoken -n miniflux -o go-template='{{ .data.token }}' | base64 -d)"
cat << EOH > miniflux.hcl cat << EOH > miniflux.hcl
path "kv/data/miniflux" { path "kv/data/miniflux" {

View file

@ -21,7 +21,7 @@ helm upgrade --install \
#kubectl apply -n ${NAMESPACE} -f traefik.yaml #kubectl apply -n ${NAMESPACE} -f traefik.yaml
HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+')
TOKEN="$(kubectl get secret serviceaccounttoken -n wallabag -o go-template='{{ .data.token }}' | base64 -d)" TOKEN="$(kubectl get secret serviceaccounttoken -n wallabag -o go-template='{{ .data.token }}' | base64 -d)"
vault write auth/${VAULT_AUTH_NAMESPACE}/role/wallabag \ vault write auth/${VAULT_AUTH_NAMESPACE}/role/wallabag \
bound_service_account_names=wallabag \ bound_service_account_names=wallabag \

View file

@ -32,7 +32,7 @@ metadata:
EOH EOH
HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+')
TOKEN="$(kubectl get secret serviceaccounttoken -n cert-manager -o go-template='{{ .data.token }}' | base64 -d)" TOKEN="$(kubectl get secret serviceaccounttoken -n cert-manager -o go-template='{{ .data.token }}' | base64 -d)"
vault write auth/${VAULT_AUTH_NAMESPACE}/role/cert-manager \ vault write auth/${VAULT_AUTH_NAMESPACE}/role/cert-manager \
bound_service_account_names=cert-manager \ bound_service_account_names=cert-manager \

View file

@ -18,7 +18,7 @@ metadata:
EOH EOH
HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+') HOST_IP=$(ip addr show eth0 | grep -Po 'inet \K[\d.]+')
TOKEN="$(kubectl get secret serviceaccounttoken -n external-dns -o go-template='{{ .data.token }}' | base64 -d)" TOKEN="$(kubectl get secret serviceaccounttoken -n external-dns -o go-template='{{ .data.token }}' | base64 -d)"
vault write auth/${VAULT_AUTH_NAMESPACE}/role/external-dns \ vault write auth/${VAULT_AUTH_NAMESPACE}/role/external-dns \
bound_service_account_names=default,external-dns \ bound_service_account_names=default,external-dns \
@ -37,4 +37,3 @@ helm upgrade --install \
--version ${CHART_VERSION} \ --version ${CHART_VERSION} \
--values values.yaml \ --values values.yaml \
--cleanup-on-fail --cleanup-on-fail