UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects

Add SSO checks before using auth information

Merged Christopher Kyle Galloway requested to merge openid-sso-fix into main

General MR

Summary

Fixes an issue that appears when overriding the cr to include the auth type for openid and not turning on sso.

kiali:
  enabled: true
  values:
    cr:
      spec:
        auth:
          strategy: "openid"

This caused downstream resources to assume that values existed, when they did not due to sso being disabled.

Relevant logs/screenshots

Log Error

message: 'Helm install failed for release kiali/kiali-kiali with chart kiali@1.89.0-bb.0: template: kiali/templates/bigbang/ssoServiceEntry.yaml:7:50: executing "kiali/templates/bigbang/ssoServiceEntry.yaml" at <.Values.cr.spec.auth.openid.issuer_uri>: nil pointer evaluating interface {}.issuer_uri'

Linked Issue

No issue linked. Found as part of testing changes related to this issue in Nexus Repository Manager.

Upgrade Notices

N/A

Edited by Christopher Kyle Galloway

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading