|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.18.0 |
| 7 | + name: keystoneapplicationcredentials.keystone.openstack.org |
| 8 | +spec: |
| 9 | + group: keystone.openstack.org |
| 10 | + names: |
| 11 | + kind: KeystoneApplicationCredential |
| 12 | + listKind: KeystoneApplicationCredentialList |
| 13 | + plural: keystoneapplicationcredentials |
| 14 | + shortNames: |
| 15 | + - appcred |
| 16 | + singular: keystoneapplicationcredential |
| 17 | + scope: Namespaced |
| 18 | + versions: |
| 19 | + - additionalPrinterColumns: |
| 20 | + - description: Keystone ApplicationCredential ID |
| 21 | + jsonPath: .status.acID |
| 22 | + name: ACID |
| 23 | + type: string |
| 24 | + - description: Secret holding ApplicationCredential secret |
| 25 | + jsonPath: .status.secretName |
| 26 | + name: SecretName |
| 27 | + type: string |
| 28 | + - description: Last rotation time |
| 29 | + jsonPath: .status.lastRotated |
| 30 | + name: LastRotated |
| 31 | + type: date |
| 32 | + - description: Status |
| 33 | + jsonPath: .status.conditions[0].status |
| 34 | + name: Status |
| 35 | + type: string |
| 36 | + - description: Message |
| 37 | + jsonPath: .status.conditions[0].message |
| 38 | + name: Message |
| 39 | + type: string |
| 40 | + name: v1beta1 |
| 41 | + schema: |
| 42 | + openAPIV3Schema: |
| 43 | + description: KeystoneApplicationCredential is the Schema for the applicationcredentials |
| 44 | + API |
| 45 | + properties: |
| 46 | + apiVersion: |
| 47 | + description: |- |
| 48 | + APIVersion defines the versioned schema of this representation of an object. |
| 49 | + Servers should convert recognized schemas to the latest internal value, and |
| 50 | + may reject unrecognized values. |
| 51 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 52 | + type: string |
| 53 | + kind: |
| 54 | + description: |- |
| 55 | + Kind is a string value representing the REST resource this object represents. |
| 56 | + Servers may infer this from the endpoint the client submits requests to. |
| 57 | + Cannot be updated. |
| 58 | + In CamelCase. |
| 59 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 60 | + type: string |
| 61 | + metadata: |
| 62 | + type: object |
| 63 | + spec: |
| 64 | + description: KeystoneApplicationCredentialSpec defines what the user can |
| 65 | + set |
| 66 | + properties: |
| 67 | + accessRules: |
| 68 | + description: AccessRules defines which services the ApplicationCredential |
| 69 | + is permitted to access |
| 70 | + items: |
| 71 | + description: ACRule defines a additional access rule for an ApplicationCredential |
| 72 | + properties: |
| 73 | + method: |
| 74 | + description: Method is the HTTP verb to allow (defaults to all |
| 75 | + if empty) |
| 76 | + type: string |
| 77 | + path: |
| 78 | + description: Path is the API path to allow |
| 79 | + type: string |
| 80 | + service: |
| 81 | + description: Service is the OpenStack service type |
| 82 | + type: string |
| 83 | + type: object |
| 84 | + type: array |
| 85 | + expirationDays: |
| 86 | + default: 365 |
| 87 | + description: ExpirationDays sets the lifetime in days for the ApplicationCredential |
| 88 | + minimum: 2 |
| 89 | + type: integer |
| 90 | + gracePeriodDays: |
| 91 | + default: 182 |
| 92 | + description: GracePeriodDays sets how many days before expiration |
| 93 | + the ApplicationCredential should be rotated |
| 94 | + minimum: 1 |
| 95 | + type: integer |
| 96 | + passwordSelector: |
| 97 | + description: PasswordSelector for extracting the service password |
| 98 | + type: string |
| 99 | + roles: |
| 100 | + description: Roles to assign to the ApplicationCredential |
| 101 | + items: |
| 102 | + type: string |
| 103 | + minItems: 1 |
| 104 | + type: array |
| 105 | + secret: |
| 106 | + description: Secret containing service user password |
| 107 | + type: string |
| 108 | + unrestricted: |
| 109 | + default: false |
| 110 | + description: Unrestricted indicates whether the ApplicationCredential |
| 111 | + may be used to create or destroy other credentials or trusts |
| 112 | + type: boolean |
| 113 | + userName: |
| 114 | + description: UserName - the Keystone user under which this ApplicationCredential |
| 115 | + is created |
| 116 | + type: string |
| 117 | + required: |
| 118 | + - passwordSelector |
| 119 | + - roles |
| 120 | + - secret |
| 121 | + - userName |
| 122 | + type: object |
| 123 | + x-kubernetes-validations: |
| 124 | + - message: gracePeriodDays must be smaller than expirationDays |
| 125 | + rule: self.gracePeriodDays < self.expirationDays |
| 126 | + status: |
| 127 | + description: KeystoneApplicationCredentialStatus defines the observed |
| 128 | + state |
| 129 | + properties: |
| 130 | + acID: |
| 131 | + description: ACID - the ID in Keystone for this ApplicationCredential |
| 132 | + type: string |
| 133 | + conditions: |
| 134 | + description: Conditions |
| 135 | + items: |
| 136 | + description: Condition defines an observation of a API resource |
| 137 | + operational state. |
| 138 | + properties: |
| 139 | + lastTransitionTime: |
| 140 | + description: |- |
| 141 | + Last time the condition transitioned from one status to another. |
| 142 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 143 | + the API field changed is acceptable. |
| 144 | + format: date-time |
| 145 | + type: string |
| 146 | + message: |
| 147 | + description: A human readable message indicating details about |
| 148 | + the transition. |
| 149 | + type: string |
| 150 | + reason: |
| 151 | + description: The reason for the condition's last transition |
| 152 | + in CamelCase. |
| 153 | + type: string |
| 154 | + severity: |
| 155 | + description: |- |
| 156 | + Severity provides a classification of Reason code, so the current situation is immediately |
| 157 | + understandable and could act accordingly. |
| 158 | + It is meant for situations where Status=False and it should be indicated if it is just |
| 159 | + informational, warning (next reconciliation might fix it) or an error (e.g. DB create issue |
| 160 | + and no actions to automatically resolve the issue can/should be done). |
| 161 | + For conditions where Status=Unknown or Status=True the Severity should be SeverityNone. |
| 162 | + type: string |
| 163 | + status: |
| 164 | + description: Status of the condition, one of True, False, Unknown. |
| 165 | + type: string |
| 166 | + type: |
| 167 | + description: Type of condition in CamelCase. |
| 168 | + type: string |
| 169 | + required: |
| 170 | + - lastTransitionTime |
| 171 | + - status |
| 172 | + - type |
| 173 | + type: object |
| 174 | + type: array |
| 175 | + createdAt: |
| 176 | + description: CreatedAt - timestap of creation |
| 177 | + format: date-time |
| 178 | + type: string |
| 179 | + expiresAt: |
| 180 | + description: ExpiresAt - time of validity expiration |
| 181 | + format: date-time |
| 182 | + type: string |
| 183 | + lastRotated: |
| 184 | + description: LastRotated - timestamp when credentials were last rotated |
| 185 | + format: date-time |
| 186 | + type: string |
| 187 | + secretName: |
| 188 | + description: SecretName - name of the k8s Secret storing the ApplicationCredential |
| 189 | + secret |
| 190 | + type: string |
| 191 | + type: object |
| 192 | + type: object |
| 193 | + served: true |
| 194 | + storage: true |
| 195 | + subresources: |
| 196 | + status: {} |
0 commit comments