Fix formatting
This commit is contained in:
parent
55a6f2f3ff
commit
e92f54473f
5 changed files with 5 additions and 6 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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" {
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue