Skip to content

Commit

Permalink
Rebase fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
d34dh0r53 committed Dec 9, 2024
1 parent 1ef836e commit 4a64a83
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions controllers/keystoneapi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1210,14 +1210,7 @@ func (r *KeystoneAPIReconciler) generateServiceConfigMaps(
"enableFederation": enableFederation,
"federationTrustedDashboard": fmt.Sprintf("%s/dashboard/auth/websso/", endpointPublic),
"federationRemoteIDAttribute": instance.Spec.OIDCFederation.RemoteIDAttribute,
<<<<<<< HEAD
<<<<<<< HEAD
"fernetMaxActiveKeys": instance.Spec.FernetMaxActiveKeys,
=======
>>>>>>> 3ba233c (Rebase temp commit)
=======
"fernetMaxActiveKeys": instance.Spec.FernetMaxActiveKeys,
>>>>>>> 98b420d (Fix formatting)
}

var OIDCClientSecret string
Expand All @@ -1233,18 +1226,6 @@ func (r *KeystoneAPIReconciler) generateServiceConfigMaps(
return err
}

<<<<<<< HEAD
OIDCClientSecret := string(ospSecret.Data[instance.Spec.PasswordSelectors.KeystoneOIDCClientSecret])
if OIDCClientSecret == "" {
return fmt.Errorf("OIDCClientSecret cannot be empty, no password found for selector %s in secret %s", ospSecret.Name, instance.Spec.PasswordSelectors.KeystoneOIDCClientSecret)
}

OIDCCryptoPassphrase := string(ospSecret.Data[instance.Spec.PasswordSelectors.KeystoneOIDCCryptoPassphrase])
if OIDCCryptoPassphrase == "" {
return fmt.Errorf("OIDCCryptoPassphrase cannot be empty, no password found for selector %s in secret %s", ospSecret.Name, instance.Spec.PasswordSelectors.KeystoneOIDCCryptoPassphrase)
}

=======
OIDCClientSecret = string(ospSecret.Data[instance.Spec.PasswordSelectors.KeystoneOIDCClientSecret])
if OIDCClientSecret == "" {
return fmt.Errorf("OIDCClientSecret cannot be empty, no password found for selector %s in secret %s", ospSecret.Name, instance.Spec.PasswordSelectors.KeystoneOIDCClientSecret)
Expand All @@ -1254,7 +1235,6 @@ func (r *KeystoneAPIReconciler) generateServiceConfigMaps(
if OIDCCryptoPassphrase == "" {
return fmt.Errorf("OIDCCryptoPassphrase cannot be empty, no password found for selector %s in secret %s", ospSecret.Name, instance.Spec.PasswordSelectors.KeystoneOIDCCryptoPassphrase)
}
>>>>>>> 3ba233c (Rebase temp commit)
}

// create httpd vhost template parameters
Expand Down

0 comments on commit 4a64a83

Please sign in to comment.