generators.external-secrets.io_quayaccesstokens.yaml 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. properties:
  46. robotAccount:
  47. description: Name of the robot account you are federating with
  48. type: string
  49. serviceAccountRef:
  50. description: Name of the service account you are federating with
  51. properties:
  52. audiences:
  53. description: |-
  54. Audience specifies the `aud` claim for the service account token
  55. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  56. then this audiences will be appended to the list
  57. items:
  58. type: string
  59. type: array
  60. name:
  61. description: The name of the ServiceAccount resource being referred
  62. to.
  63. maxLength: 253
  64. minLength: 1
  65. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
  66. type: string
  67. namespace:
  68. description: |-
  69. Namespace of the resource being referred to.
  70. Ignored if referent is not cluster-scoped, otherwise defaults to the namespace of the referent.
  71. maxLength: 63
  72. minLength: 1
  73. pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
  74. type: string
  75. required:
  76. - name
  77. type: object
  78. url:
  79. description: URL configures the Quay instance URL. Defaults to quay.io.
  80. type: string
  81. required:
  82. - robotAccount
  83. - serviceAccountRef
  84. type: object
  85. type: object
  86. served: true
  87. storage: true
  88. subresources:
  89. status: {}