generators.external-secrets.io_quayaccesstokens.yaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.19.0
  6. labels:
  7. external-secrets.io/component: controller
  8. name: quayaccesstokens.generators.external-secrets.io
  9. spec:
  10. group: generators.external-secrets.io
  11. names:
  12. categories:
  13. - external-secrets
  14. - external-secrets-generators
  15. kind: QuayAccessToken
  16. listKind: QuayAccessTokenList
  17. plural: quayaccesstokens
  18. singular: quayaccesstoken
  19. scope: Namespaced
  20. versions:
  21. - name: v1alpha1
  22. schema:
  23. openAPIV3Schema:
  24. description: QuayAccessToken generates Quay oauth token for pulling/pushing
  25. images
  26. properties:
  27. apiVersion:
  28. description: |-
  29. APIVersion defines the versioned schema of this representation of an object.
  30. Servers should convert recognized schemas to the latest internal value, and
  31. may reject unrecognized values.
  32. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  33. type: string
  34. kind:
  35. description: |-
  36. Kind is a string value representing the REST resource this object represents.
  37. Servers may infer this from the endpoint the client submits requests to.
  38. Cannot be updated.
  39. In CamelCase.
  40. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  41. type: string
  42. metadata:
  43. type: object
  44. spec:
  45. description: QuayAccessTokenSpec defines the desired state to generate
  46. a Quay access token.
  47. properties:
  48. robotAccount:
  49. description: Name of the robot account you are federating with
  50. type: string
  51. serviceAccountRef:
  52. description: Name of the service account you are federating with
  53. properties:
  54. audiences:
  55. description: |-
  56. Audience specifies the `aud` claim for the service account token
  57. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  58. then this audiences will be appended to the list
  59. items:
  60. type: string
  61. type: array
  62. name:
  63. description: The name of the ServiceAccount resource being referred
  64. to.
  65. maxLength: 253
  66. minLength: 1
  67. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  68. type: string
  69. namespace:
  70. description: |-
  71. Namespace of the resource being referred to.
  72. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  73. maxLength: 63
  74. minLength: 1
  75. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  76. type: string
  77. required:
  78. - name
  79. type: object
  80. url:
  81. description: URL configures the Quay instance URL. Defaults to quay.io.
  82. type: string
  83. required:
  84. - robotAccount
  85. - serviceAccountRef
  86. type: object
  87. type: object
  88. served: true
  89. storage: true
  90. subresources:
  91. status: {}