Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide Kong admin token via file #4808

Merged
merged 10 commits into from
Oct 11, 2023
Merged

Conversation

ludovic-pourrat
Copy link
Contributor

What this PR does / why we need it:

When deploying Kong Enterprise in Kubernetes we need another option to secure the Kong admin token. The existing feature to provide the kong-admin-token via the environment variable CONTROLLER_KONG_ADMIN_TOKEN which can be backed as a Kubernetes secret does not fit for us.

Which issue this PR fixes:

Providing Kong admin token via file #4789

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@ludovic-pourrat ludovic-pourrat requested a review from a team as a code owner October 11, 2023 06:52
Copy link
Contributor

@randmonkey randmonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As the linter suggests, please add description of the new flag in docs/cli-arguments.md: https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6479011252/job/17591921676?pr=4808

CHANGELOG.md Outdated Show resolved Hide resolved
@pmalek
Copy link
Member

pmalek commented Oct 11, 2023

To make the linter and verify CI step happy, you'll have to run the CLI reference generation to include the added flag:

make generate.cli-arguments-docs

ludovic-pourrat and others added 2 commits October 11, 2023 11:51
Co-authored-by: Tao Yi  <richardyi0110@hotmail.com>
@ludovic-pourrat
Copy link
Contributor Author

To make the linter and verify CI step happy, you'll have to run the CLI reference generation to include the added flag:

make generate.cli-arguments-docs

Done, and sorry for missing it.

@programmer04 programmer04 changed the title Providing Kong admin token via file #4789 feat: Provide Kong admin token via file Oct 11, 2023
@programmer04 programmer04 changed the title feat: Provide Kong admin token via file feat: provide Kong admin token via file Oct 11, 2023
@czeslavo czeslavo merged commit 82dbd35 into Kong:main Oct 11, 2023
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants