Skip to content

Commit

Permalink
[모니터링] deploy-secret 제거하기 (#243)
Browse files Browse the repository at this point in the history
chore: remove deploy secret
  • Loading branch information
jyoo0515 authored Mar 24, 2024
1 parent bc33e49 commit b87db6d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 115 deletions.
13 changes: 13 additions & 0 deletions infra/helm/scc-monitoring/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 모니터링 Chart 배포

secret 을 helm value 혹은 ENV 로 주입하여 배포되도록 하려고 했으나 마땅한 방법이 없어서 일단 --set 옵션으로 배포합니다.

```bash
helm --namespace scc-monitoring \
-f values.yaml \
upgrade --install scc-monitoring ./ \
--set openobserve-collector.exporters."otlphttp/openobserve".endpoint={secret.yaml 참조} \
--set openobserve-collector.exporters."otlphttp/openobserve".headers.Authorization="{secret.yaml 참조}" \
--set openobserve-collector.exporters."otlphttp/openobserve_k8s_events".endpoint={secret.yaml 참조} \
--set openobserve-collector.exporters."otlphttp/openobserve_k8s_events".headers.Authorization="{secret.yaml 참조}"
```
12 changes: 0 additions & 12 deletions infra/helm/scc-monitoring/templates/configmap-for-secret.yaml

This file was deleted.

68 changes: 0 additions & 68 deletions infra/helm/scc-monitoring/templates/deploy-secret-job.yaml

This file was deleted.

This file was deleted.

1 change: 0 additions & 1 deletion infra/terraform/scc/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ data "aws_iam_policy_document" "scc_deploy_secret" {
values = [
"system:serviceaccount:scc:scc-server-deploy-secret",
"system:serviceaccount:scc-redash:scc-redash-deploy-secret",
"system:serviceaccount:scc-monitoring:scc-monitoring-deploy-secret",
]
}
}
Expand Down

0 comments on commit b87db6d

Please sign in to comment.