Skip to content

Commit

Permalink
Parameterize slack profile field in checkerboard
Browse files Browse the repository at this point in the history
  • Loading branch information
athornton committed Oct 12, 2024
1 parent 78e6a82 commit 18d4c7a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion applications/checkerboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ Identity mapping service
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Affinity rules for the checkerboard frontend pod |
| config | object | `{"logLevel":"INFO","profile":"production"}` | Configuration for checkerboard server |
| config | object | `{"logLevel":"INFO","profile":"production","slackProfileField":"GitHub username"}` | Configuration for checkerboard server |
| config.logLevel | string | `"INFO"` | Choose from the text form of Python logging levels |
| config.profile | string | `"production"` | application Safir profile ("production" or "development") |
| config.slackProfileField | string | `"GitHub username"` | name of Slack profile field for GitHub username (case-sensitive) |
| fullnameOverride | string | `""` | Override the full name for resources (includes the release name) |
| global.baseUrl | string | Set by Argo CD | Base URL for the environment |
| global.host | string | Set by Argo CD | Host name for ingress |
Expand Down
2 changes: 2 additions & 0 deletions applications/checkerboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ spec:
containers:
- name: "checkerboard"
env:
- name: "CHECKERBOARD_PROFILE_FIELD"
value: {{ .Values.config.slackProfileField | quote }}
- name: "CHECKERBOARD_REDIS_PASSWORD"
valueFrom:
secretKeyRef:
Expand Down
2 changes: 0 additions & 2 deletions applications/checkerboard/values-roundtable-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ redis:
storageClass: "standard-rwo"
config:
logLevel: "DEBUG"
image:
pullPolicy: "Always"
3 changes: 3 additions & 0 deletions applications/checkerboard/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ config:
# -- application Safir profile ("production" or "development")
profile: "production"

# -- name of Slack profile field for GitHub username (case-sensitive)
slackProfileField: "GitHub username"

global:
# -- Base URL for the environment
# @default -- Set by Argo CD
Expand Down
1 change: 0 additions & 1 deletion environments/values-roundtable-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ onepassword:
vaultPathPrefix: "secret/phalanx/roundtable-dev"

applications:
checkerboard: false
giftless: true
jira-data-proxy: true
kubernetes-replicator: true
Expand Down

0 comments on commit 18d4c7a

Please sign in to comment.