-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added oidc Configuration section and operator management #464
base: master
Are you sure you want to change the base?
Conversation
d2fcee2
to
36d95aa
Compare
// +kubebuilder:default:=false | ||
// +optional | ||
Enabled bool `json:"enabled"` | ||
// authorizerEnabled specifies if the cluster should use use the single-user-authorizer instead of the managed-authorizer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please update these comments to correctly describe the variables?
@@ -162,6 +176,7 @@ func (r *Reconciler) getNifiPropertiesConfigString(nConfig *v1.NodeConfig, id in | |||
// | |||
"LdapConfiguration": r.NifiCluster.Spec.LdapConfiguration, | |||
"SingleUserConfiguration": r.NifiCluster.Spec.SingleUserConfiguration, | |||
"OidcConfiguration": r.NifiCluster.Spec.OidcConfiguration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please correct the tab spacing for all of these?
A few of things:
|
Name: OidcConfiguration.SecretRef.Name, | ||
NameSpace: OidcConfiguration.SecretRef.NameSpace, | ||
}, | ||
Key: clientSecret, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please document (ad nauseum) what the key in the secret should be for the referenced secret? This should be documented on the website documentation, in nificluster_types.go
, and in any comment where is makes sense. This way, it's very clear what the secret should contain.
What's in this PR?
Read new section oidcConfiguration from Values.yaml and inject it into nifi.properties file
Why?
Fix the feature request #463
Checklist
To Do