You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Until you have implemented mutability for the field, you must add a CEL validation
42
-
// preventing the field being modified:
43
-
// `// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="<fieldname> is immutable"`
71
+
// unrestricted is a flag indicating whether the application credential may be used for creation or destruction of other application credentials or trusts
// roleRefs may only contain roles that the user has assigned on the project. If not provided, the roles assigned to the application credential will be the same as the roles in the current token.
// path that the application credential is permitted to access
145
+
// +kubebuilder:validation:MaxLength:=1024
146
+
// +optional
147
+
Path*string`json:"path,omitempty"`
148
+
149
+
// method that the application credential is permitted to use for a given API endpoint
150
+
// +kubebuilder:validation:MaxLength=32
151
+
// +optional
152
+
Method*string`json:"method,omitempty"`
153
+
154
+
// service type identifier for the service that the application credential is permitted to access
155
+
// +kubebuilder:validation:MaxLength:=1024
156
+
// +optional
157
+
Service*string`json:"service,omitempty"`
66
158
}
67
159
68
160
// ApplicationCredentialResourceStatus represents the observed state of the resource.
@@ -77,12 +169,28 @@ type ApplicationCredentialResourceStatus struct {
77
169
// +optional
78
170
Descriptionstring`json:"description,omitempty"`
79
171
80
-
// userID is the ID of the User to which the resource is associated.
172
+
// unrestricted is a flag indicating whether the application credential may be used for creation or destruction of other application credentials or trusts
173
+
// +optional
174
+
Unrestrictedbool`json:"unrestricted,omitempty"`
175
+
176
+
// projectID of the project the application credential was created for and that authentication requests using this application credential will be scoped to.
81
177
// +kubebuilder:validation:MaxLength=1024
82
178
// +optional
83
-
UserIDstring`json:"userID,omitempty"`
179
+
ProjectIDstring`json:"projectID,omitempty"`
180
+
181
+
// roles is a list of role objects may only contain roles that the user has assigned on the project
0 commit comments