Skip to content

Commit

Permalink
trivial. add secret loki-user to tks-enndpoint-secret
Browse files Browse the repository at this point in the history
  • Loading branch information
ktkfree committed Sep 9, 2024
1 parent 09ef59b commit bea2761
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tks-cluster/create-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,8 @@ spec:
MINIO_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("minio"))|.url)'[])
PROMETHEUS_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("prometheus"))|.url)'[])
THANOS_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("thanos"))|.url)'[])
LOKI_USER_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("loki_user"))|.url)'[])
THANOS_RULER_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("thanos_ruler"))|.url)'[])
KIALI_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("kiali"))|.url)'[])
JAEGER_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("jaeger"))|.url)'[])
Expand All @@ -885,6 +887,8 @@ spec:
minio: $(echo ${MINIO_URL} | base64) # 30003
prometheus: $(echo ${PROMETHEUS_URL} | base64) # 30004
thanos: $(echo ${THANOS_URL} | base64) # 30005 (queryfrontend만 합시다...)
loki_user: $(echo ${LOKI_USER_URL} | base64) # 30006
thanos_ruler: $(echo ${THANOS_RULER_URL} | base64) # 30007
kiali: $(echo ${KIALI_URL} | base64) # 30011
jaeger: $(echo ${JAEGER_URL} | base64) # 30012
EOF
Expand Down
4 changes: 4 additions & 0 deletions tks-cluster/import-usercluster-wftpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@ spec:
MINIO_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("minio"))|.url)'[])
PROMETHEUS_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("prometheus"))|.url)'[])
THANOS_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("thanos"))|.url)'[])
LOKI_USER_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("loki_user"))|.url)'[])
THANOS_RULER_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("thanos_ruler"))|.url)'[])
KIALI_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("kiali"))|.url)'[])
JAEGER_URL=$(echo $CLUSTER_DOMAINS | jq -r '. | map(select(.domainType | contains("jaeger"))|.url)'[])
Expand All @@ -296,6 +298,8 @@ spec:
minio: $(echo ${MINIO_URL} | base64) # 30003
prometheus: $(echo ${PROMETHEUS_URL} | base64) # 30004
thanos: $(echo ${THANOS_URL} | base64) # 30005 (queryfrontend만 합시다...)
loki_user: $(echo ${LOKI_USER_URL} | base64) # 30006
thanos_ruler: $(echo ${THANOS_RULER_URL} | base64) # 30007
kiali: $(echo ${KIALI_URL} | base64) # 30011
jaeger: $(echo ${JAEGER_URL} | base64) # 30012
EOF
Expand Down

0 comments on commit bea2761

Please sign in to comment.