generators.external-secrets.io_gcraccesstokens.yaml 4.9 KB

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