Skip to content

Commit

Permalink
Fix the secret/mount (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Mar 28, 2024
1 parent 04edc0c commit dc0ff27
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ FROM gcr.io/distroless/static-debian12

COPY --from=builder /app/bin/github-bot /github-bot

ENTRYPOINT ["/github-bot", "--config", "/config.yml"]
ENTRYPOINT ["/github-bot", "--config", "/config/config.yml"]
21 changes: 11 additions & 10 deletions k8s/label-prs.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@ deployment:

# Creates a secret with the following values, and mounts as a file into the main deployment container
secretFile:
mountPath: "/config.yml"
mountPath: "/config"
stringValues:
github_token: "{{ BOT_GITHUB_TOKEN }}"
internal_team: "{{ INTERNAL_TEAM_NAME }}"
label_internal: ""
label_external: "community-pr"
label_check_repos:
- name: "Chia-Network/chia-blockchain"
minimum_number: 17788
label_skip_users:
- "dependabot[bot]"
config.yml: |
github_token: "{{ BOT_GITHUB_TOKEN }}"
internal_team: "{{ INTERNAL_TEAM_NAME }}"
label_internal: ""
label_external: "community-pr"
label_check_repos:
- name: "Chia-Network/chia-blockchain"
minimum_number: 17788
label_skip_users:
- "dependabot[bot]"

0 comments on commit dc0ff27

Please sign in to comment.