Skip to content

Remove backwards-compatible authentication config in 0.7.0 #530

@raballew

Description

@raballew

TODO Comment

// TODO: remove in 0.7.0

Location

  • controller/internal/config/config.go, line 73
  • controller/deploy/helm/jumpstarter/charts/jumpstarter-controller/templates/cms/controller-cm.yaml, line 14

Context

config.go:

rawAuthenticationConfiguration, ok := configmap.Data["authentication"]
if ok {
    // backwards compatibility
    // TODO: remove in 0.7.0
    authenticator, prefix, err := oidc.LoadAuthenticationConfiguration(
        ctx,
        scheme,
        []byte(rawAuthenticationConfiguration),
        signer,
        certificateAuthority,
    )

controller-cm.yaml:

data:
  # backwards compatibility
  # TODO: remove in 0.7.0
  {{ if .Values.authenticationConfig }}
  authentication: {{- .Values.authenticationConfig | toYaml | indent 1 }}
  {{ end }}

Legacy authentication config key is kept for backwards compatibility and should be removed in version 0.7.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions