Skip to content

Commit

Permalink
fix: adapt to kong chart v2.39 (#1105)
Browse files Browse the repository at this point in the history
  • Loading branch information
czeslavo authored Jun 17, 2024
1 parent 1204d4d commit dd7bb71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## Unreleased
## v0.47.1

- Adapt Kong addon to the `kong/kong` Helm chart v2.39.0 that requires
`enterprise.rbac.session_conf_secret` to be explicitly defined.
[#1105](https://github.com/Kong/kubernetes-testing-framework/pull/1105)

## v0.47.0

Expand Down
3 changes: 3 additions & 0 deletions pkg/clusters/addons/kong/addon.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ func (a *Addon) Deploy(ctx context.Context, cluster clusters.Cluster) error {
}
}

// Set the session configuration secret name for the admin GUI.
a.deployArgs = append(a.deployArgs, "--set", fmt.Sprintf("enterprise.rbac.session_conf_secret=%s", DefaultAdminGUISessionConfSecretName))

// Deploy the admin session configuration needed for enterprise enabled mode.
if err := deployKongEnterpriseAdminGUISessionConf(ctx, cluster, a.namespace); err != nil {
return err
Expand Down

0 comments on commit dd7bb71

Please sign in to comment.