Skip to content

Commit

Permalink
deps: bump idea-reaction v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 committed Aug 18, 2024
1 parent 21d1898 commit e6dac8d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,15 @@ spec:
value: "959307225413845072"
- name: TARGET_GUILD_ID
value: "237758724121427969"
- name: REDMINE_URL
value: "https://redmine.seichi.click"
- name: DISCORD_API_TOKEN
valueFrom:
secretKeyRef:
name: idea-reaction-discord-token
key: IDEA_REACTION_DISCORD_TOKEN
- name: REDMINE_API_KEY
valueFrom:
secretKeyRef:
name: idea-reaction-redmine-api-key
key: IDEA_REACTION_REDMINE_API_KEY
6 changes: 6 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ variable "minecraft__idea_reaction_discord_token" {
sensitive = true
}

variable "minecraft__idea_reaction_redmine_api_key" {
description = "Redmine API Key set to the production idea-reaction"
type = string
sensitive = true
}

#endregion

#region env variables for Cloudflare Pages projects
Expand Down
13 changes: 13 additions & 0 deletions terraform/onp_cluster_secrets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -279,3 +279,16 @@ resource "kubernetes_secret" "idea_reaction_discord_token" {
IDEA_REACTION_DISCORD_TOKEN = var.minecraft__idea_reaction_discord_token
}
}

resource "kubernetes_secret" "idea_reaction_redmine_api_key" {
depends_on = [kubernetes_namespace_onp_seichi_minecraft]

metadata {
name = "idea-reaction-redmine-api-key"
namespace = "seichi-minecraft"
}

data = {
IDEA_REACTION_REDMINE_API_KEY = var.minecraft__idea_reaction_redmine_api_key
}
}

0 comments on commit e6dac8d

Please sign in to comment.