-
Notifications
You must be signed in to change notification settings - Fork 37
Keystone: User CreateOpts for password field #709
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,12 +1,48 @@ | ||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||
| apiVersion: openstack.k-orc.cloud/v1alpha1 | ||||||||||||||||||||||||||||||
| kind: Domain | ||||||||||||||||||||||||||||||
| metadata: | ||||||||||||||||||||||||||||||
| name: user-sample | ||||||||||||||||||||||||||||||
| spec: | ||||||||||||||||||||||||||||||
| cloudCredentialsRef: | ||||||||||||||||||||||||||||||
| cloudName: devstack-admin | ||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe a change during development. Let's stick with openstack-admin for consistency. Wdyt? |
||||||||||||||||||||||||||||||
| secretName: openstack-clouds | ||||||||||||||||||||||||||||||
| managementPolicy: managed | ||||||||||||||||||||||||||||||
| resource: {} | ||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||
| apiVersion: openstack.k-orc.cloud/v1alpha1 | ||||||||||||||||||||||||||||||
| kind: Project | ||||||||||||||||||||||||||||||
| metadata: | ||||||||||||||||||||||||||||||
| name: user-sample | ||||||||||||||||||||||||||||||
| spec: | ||||||||||||||||||||||||||||||
| cloudCredentialsRef: | ||||||||||||||||||||||||||||||
| cloudName: devstack-admin | ||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also here. |
||||||||||||||||||||||||||||||
| secretName: openstack-clouds | ||||||||||||||||||||||||||||||
| managementPolicy: managed | ||||||||||||||||||||||||||||||
| resource: {} | ||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||
| apiVersion: v1 | ||||||||||||||||||||||||||||||
| kind: Secret | ||||||||||||||||||||||||||||||
| metadata: | ||||||||||||||||||||||||||||||
| name: user-sample | ||||||||||||||||||||||||||||||
| type: Opaque | ||||||||||||||||||||||||||||||
| stringData: | ||||||||||||||||||||||||||||||
| password: "TestPassword" | ||||||||||||||||||||||||||||||
|
Comment on lines
+24
to
+30
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
A few blank spaces at the beginning. Let's remove them for better indentation. |
||||||||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||||||||
| apiVersion: openstack.k-orc.cloud/v1alpha1 | ||||||||||||||||||||||||||||||
| kind: User | ||||||||||||||||||||||||||||||
| metadata: | ||||||||||||||||||||||||||||||
| name: user-sample | ||||||||||||||||||||||||||||||
| spec: | ||||||||||||||||||||||||||||||
| cloudCredentialsRef: | ||||||||||||||||||||||||||||||
| cloudName: openstack-admin | ||||||||||||||||||||||||||||||
| cloudName: devstack-admin | ||||||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And here too :). |
||||||||||||||||||||||||||||||
| secretName: openstack-clouds | ||||||||||||||||||||||||||||||
| managementPolicy: managed | ||||||||||||||||||||||||||||||
| resource: | ||||||||||||||||||||||||||||||
| description: Sample User | ||||||||||||||||||||||||||||||
| name: user-sample | ||||||||||||||||||||||||||||||
| description: User sample | ||||||||||||||||||||||||||||||
| domainRef: user-sample | ||||||||||||||||||||||||||||||
| defaultProjectRef: user-sample | ||||||||||||||||||||||||||||||
| enabled: true | ||||||||||||||||||||||||||||||
| password: | ||||||||||||||||||||||||||||||
| secretRef: user-sample | ||||||||||||||||||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,4 +25,12 @@ spec: | |
| cloudName: openstack-admin | ||
| secretName: openstack-clouds | ||
| managementPolicy: managed | ||
| resource: {} | ||
| resource: {} | ||
| --- | ||
| apiVersion: v1 | ||
| kind: Secret | ||
| metadata: | ||
| name: user-create-full | ||
| type: Opaque | ||
| stringData: | ||
| password: "TestPassword" | ||
|
Comment on lines
+30
to
+36
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Probably you also need to add a new |
||
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.
Why don't we keep it simple and pass the SecretRef directly here? Any advantage of using a struct?
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.
+1 on this, not sure there is a point in warping it in an additional struct