Skip to content

Commit

Permalink
fix: minioのaccess-keyとaccess-secretをminio-access-secretから取る
Browse files Browse the repository at this point in the history
  • Loading branch information
rito528 committed Nov 19, 2023
1 parent 93e08a6 commit 9734c8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ spec:
- name: MINIO_ACCESS_KEY
valueFrom:
secretKeyRef:
name: mcserver--common--config-secrets
key: MINIO_DEBUG_ACCESS_KEY
name: minio-access-secret
key: MINIO_ACCESS_KEY
- name: MINIO_ACCESS_SECRET
valueFrom:
secretKeyRef:
name: mcserver--common--config-secrets
key: MINIO_DEBUG_ACCESS_SECRET
name: minio-access-secret
key: MINIO_ACCESS_SECRET
- name: BUCKET_NAME
value: seichi-plugins
- name: BUCKET_PREFIX_NAME
Expand Down
4 changes: 1 addition & 3 deletions terraform/onp_cluster_minecraft_secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ resource "kubernetes_secret" "onp_minecraft_debug_secrets" {
}

data = {
DISCORDSRV_TOKEN = var.minecraft__discordsrv_bot_token
MINIO_DEBUG_ACCESS_KEY = var.minio_debug_access_key
MINIO_DEBUG_ACCESS_SECRET = var.minio_debug_access_secret
DISCORDSRV_TOKEN = var.minecraft__discordsrv_bot_token
}

type = "Opaque"
Expand Down

0 comments on commit 9734c8f

Please sign in to comment.