-
Notifications
You must be signed in to change notification settings - Fork 0
DEVOPS-3030-added-support-custom-ca #138
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
294c752
support custom CA certificate in the chart
yonik-lr d1f00d3
Merge branch 'main' into DEVOPS-3030
yonik-lr 51fbabc
support `existingCaSecret` as well
yonik-lr 2db6a70
add chart validation and step export ca secret to a new file
yonik-lr 3d13478
get from customCaCertificate variable
yonik-lr 33e64fb
add documentation
yonik-lr 1bcbf0a
add data to docs.
yonik-lr 3d49856
change ca secret logic
yonik-lr 6bbb82c
remove rendered file
yonik-lr 8dda2f8
check `deploy_secrets` using a function
yonik-lr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Custom CA Certificate | ||
|
||
|
||
The `customCa` block allows you to provide a custom Certificate Authority (CA) certificate to the application. This is optional — if no values are provided, no custom CA will be used. | ||
|
||
> [!NOTE] | ||
> The certificate is loaded by Keycloak and required when using LDAP integration with a custom CA certificate. | ||
|
||
|
||
```yaml | ||
secrets: | ||
customCa: | ||
customCaCertificate: "" # Base64-encoded CA certificate content. | ||
existingCaSecret: "" # Name of an existing Kubernetes secret containing the CA certificate. | ||
``` | ||
|
||
### Option 1: Provide the CA certificate directly | ||
|
||
Use `customCaCertificate` to provide the base64-encoded content of your CA certificate. | ||
A new Kubernetes Secret will be automatically created by the Helm chart. | ||
|
||
`existingCaSecret` must not be set. | ||
|
||
```yaml | ||
secrets: | ||
customCa: | ||
customCaCertificate: "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0t..." | ||
``` | ||
|
||
### Option 2: Use an existing Kubernetes Secret | ||
|
||
Use `existingCaSecret` to reference an existing secret that contains your CA certificate. The secret key must be base64 encoded. | ||
|
||
`customCaCertificate` must not be set. | ||
|
||
|
||
```yaml | ||
secrets: | ||
customCa: | ||
existingCaSecret: "<my-custom-ca-secret>" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. also mention that it should be base64 encoded, right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. added above in line 32 |
||
``` | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.