Skip to content

Commit

Permalink
fixed wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe Gerla committed Sep 17, 2024
1 parent 82588f2 commit 36d95aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/resources/nifi/secretconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ func (r *Reconciler) getNifiPropertiesConfigString(nConfig *v1.NodeConfig, id in
}

if strings.Contains(config.NifiPropertiesTemplate, "user.oidc.client.secret") {
#read secret value
// read secret value
clientSecret := &corev1.EnvVarSource{
SecretKeyRef: &corev1.SecretKeySelector{
LocalObjectReference: corev1.LocalObjectReference{
Name: OidcConfiguration.SecretRef.Name,
NameSpace: OidcConfiguration.SecretRef.NameSpace
NameSpace: OidcConfiguration.SecretRef.NameSpace,
},
Key: clientSecret,
},
Expand Down

0 comments on commit 36d95aa

Please sign in to comment.