generators.external-secrets.io_gcraccesstokens.yaml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.16.5
  6. labels:
  7. external-secrets.io/component: controller
  8. name: gcraccesstokens.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: GCRAccessToken
  16. listKind: GCRAccessTokenList
  17. plural: gcraccesstokens
  18. shortNames:
  19. - gcraccesstoken
  20. singular: gcraccesstoken
  21. scope: Namespaced
  22. versions:
  23. - name: v1alpha1
  24. schema:
  25. openAPIV3Schema:
  26. description: |-
  27. GCRAccessToken generates an GCP access token
  28. that can be used to authenticate with GCR.
  29. properties:
  30. apiVersion:
  31. description: |-
  32. APIVersion defines the versioned schema of this representation of an object.
  33. Servers should convert recognized schemas to the latest internal value, and
  34. may reject unrecognized values.
  35. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
  36. type: string
  37. kind:
  38. description: |-
  39. Kind is a string value representing the REST resource this object represents.
  40. Servers may infer this from the endpoint the client submits requests to.
  41. Cannot be updated.
  42. In CamelCase.
  43. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
  44. type: string
  45. metadata:
  46. type: object
  47. spec:
  48. properties:
  49. auth:
  50. description: Auth defines the means for authenticating with GCP
  51. properties:
  52. secretRef:
  53. properties:
  54. secretAccessKeySecretRef:
  55. description: The SecretAccessKey is used for authentication
  56. properties:
  57. key:
  58. description: |-
  59. The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be
  60. defaulted, in others it may be required.
  61. type: string
  62. name:
  63. description: The name of the Secret resource being referred
  64. to.
  65. type: string
  66. namespace:
  67. description: |-
  68. Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
  69. to the namespace of the referent.
  70. type: string
  71. type: object
  72. type: object
  73. workloadIdentity:
  74. properties:
  75. clusterLocation:
  76. type: string
  77. clusterName:
  78. type: string
  79. clusterProjectID:
  80. type: string
  81. serviceAccountRef:
  82. description: A reference to a ServiceAccount resource.
  83. properties:
  84. audiences:
  85. description: |-
  86. Audience specifies the `aud` claim for the service account token
  87. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  88. then this audiences will be appended to the list
  89. items:
  90. type: string
  91. type: array
  92. name:
  93. description: The name of the ServiceAccount resource being
  94. referred to.
  95. type: string
  96. namespace:
  97. description: |-
  98. Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
  99. to the namespace of the referent.
  100. type: string
  101. required:
  102. - name
  103. type: object
  104. required:
  105. - clusterLocation
  106. - clusterName
  107. - serviceAccountRef
  108. type: object
  109. type: object
  110. projectID:
  111. description: ProjectID defines which project to use to authenticate
  112. with
  113. type: string
  114. required:
  115. - auth
  116. - projectID
  117. type: object
  118. type: object
  119. served: true
  120. storage: true
  121. subresources:
  122. status: {}