Skip to content

Commit 9da3ac6

Browse files
committed
Fix prom rollout secret.
1 parent bd2bf1f commit 9da3ac6

File tree

5 files changed

+14
-36
lines changed

5 files changed

+14
-36
lines changed

apps/playground-sandbox/common/secret.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ spec:
77
- name: playground-sandbox
88
stringData:
99
OTEL_EXPORTER_OTLP_TRACES_HEADERS: ENC[AES256_GCM,data:6h/y0YC7yv2G1Qi0DVK+rfkjYgFIHlprBsps3YYRV9OgiDbDdFOKAA==,iv:OiLFYeIgvmd9++z4o6QLI8vDQ37c1YPEWdO6R3HJ4+g=,tag:cXyKVXquUALgMF+nDYibzA==,type:str]
10+
PROMETHEUS_AUTH_TOKEN: ENC[AES256_GCM,data:4on3xpa0d5aSGlJX,iv:DE0UQUurNNN+ibP4dIe+dw7fi4eBQjcUjrwiiA/S08Q=,tag:za1pDzj8ZIZBDU4OEvh3bQ==,type:str]
1011
sops:
1112
kms: []
1213
gcp_kms: []
@@ -22,8 +23,8 @@ sops:
2223
YzJHeU51dHN0M3R5bU9MNkFCKzlDeVUKed9my6Bg2T1NuxMkUvi+s28BOZ/bbBLG
2324
1I1zghOkk7ZWhaY21LbAg8KlEjolCi1UyVY99XTLfdV9fL4byHVkTA==
2425
-----END AGE ENCRYPTED FILE-----
25-
lastmodified: "2025-01-25T17:45:24Z"
26-
mac: ENC[AES256_GCM,data:fiZUlpNzQ03B0a9YbALGD7V7oceq6GfdALYtilx00/tzneU+XQ2tPLwzhjnxXezPvk6rJybJENpWlaYfKorVeMUnIPsCSpdx0kW4Zol/JHq4nuLSp0vcvV/l+9fiihSgXtI6XsDzCOu1bcS6FEip+NPiz8QHNbkrH9uobOhXIGo=,iv:1TJC6fjXPBx8nqiIfgpPNSTkcQM+phRtOOFFHTr2vBw=,tag:FACLIgIhlLvpCNL62wDf+w==,type:str]
26+
lastmodified: "2025-01-25T18:20:05Z"
27+
mac: ENC[AES256_GCM,data:AUsjH5I/j8vFZ5CH/jZlPL20o10+Mu1vq/dKh3i1jFqv5YHi0YrEEq8ksmELS91svtJ1KkBm+MP9BtsE50G9qF9N/yBxEE4gvki/s82nVRbrcxd0125wbWaj5FAf2KvwQcHjGiKwWvWEdPHSZtyGGY3o32wLJDgpbHKWUzQLeqU=,iv:70iu57Mlfw4u8saUsdR2HtiDDAYVCLvE7o5tjDYukH4=,tag:/5YiHmCAdPgpCIAmJpwO9w==,type:str]
2728
pgp: []
2829
encrypted_regex: ^(data|stringData)$
2930
version: 3.9.3

apps/playground-sandbox/envs/production/rollout/rollout.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ spec:
2828
value: playground-sandbox
2929
- name: namespace
3030
value: playground-sandbox-production
31+
- name: PROMETHEUS_AUTH_TOKEN
32+
valueFrom:
33+
secretKeyRef:
34+
name: playground-sandbox
35+
key: PROMETHEUS_AUTH_TOKEN
3136
# Reference to a Service which the controller will update to point to the canary ReplicaSet
3237
canaryService: backend-canary
3338
# Reference to a Service which the controller will update to point to the stable ReplicaSet

apps/playground-sandbox/envs/staging/rollout/rollout.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ spec:
2828
value: playground-sandbox
2929
- name: namespace
3030
value: playground-sandbox-staging
31+
- name: PROMETHEUS_AUTH_TOKEN
32+
valueFrom:
33+
secretKeyRef:
34+
name: playground-sandbox
35+
key: PROMETHEUS_AUTH_TOKEN
3136
# Reference to a Service which the controller will update to point to the canary ReplicaSet
3237
canaryService: backend-canary
3338
# Reference to a Service which the controller will update to point to the stable ReplicaSet

infra/argo-rollouts/analysis/analysis-success-rate.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,11 @@ spec:
66
args:
77
- name: ingress
88
- name: namespace
9+
- name: PROMETHEUS_AUTH_TOKEN
910
- name: interval
1011
value: 10s
1112
- name: successRateThreshold
1213
value: "0.90"
13-
- name: PROMETHEUS_AUTH_TOKEN
14-
valueFrom:
15-
secretKeyRef:
16-
name: prometheus-auth-token
17-
key: PROMETHEUS_AUTH_TOKEN
1814
metrics:
1915
- name: success-rate
2016
interval: "{{ args.interval }}"

infra/argo-rollouts/analysis/secret.yaml

-29
This file was deleted.

0 commit comments

Comments
 (0)