generators.external-secrets.io_gcraccesstokens.yaml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. apiVersion: apiextensions.k8s.io/v1
  2. kind: CustomResourceDefinition
  3. metadata:
  4. annotations:
  5. controller-gen.kubebuilder.io/version: v0.14.0
  6. name: gcraccesstokens.generators.external-secrets.io
  7. spec:
  8. group: generators.external-secrets.io
  9. names:
  10. categories:
  11. - gcraccesstoken
  12. kind: GCRAccessToken
  13. listKind: GCRAccessTokenList
  14. plural: gcraccesstokens
  15. shortNames:
  16. - gcraccesstoken
  17. singular: gcraccesstoken
  18. scope: Namespaced
  19. versions:
  20. - name: v1alpha1
  21. schema:
  22. openAPIV3Schema:
  23. description: |-
  24. GCRAccessToken generates an GCP access token
  25. that can be used to authenticate with GCR.
  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. auth:
  47. description: Auth defines the means for authenticating with GCP
  48. properties:
  49. secretRef:
  50. properties:
  51. secretAccessKeySecretRef:
  52. description: The SecretAccessKey is used for authentication
  53. properties:
  54. key:
  55. description: |-
  56. The key of the entry in the Secret resource's `data` field to be used. Some instances of this field may be
  57. defaulted, in others it may be required.
  58. type: string
  59. name:
  60. description: The name of the Secret resource being referred
  61. to.
  62. type: string
  63. namespace:
  64. description: |-
  65. Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
  66. to the namespace of the referent.
  67. type: string
  68. type: object
  69. type: object
  70. workloadIdentity:
  71. properties:
  72. clusterLocation:
  73. type: string
  74. clusterName:
  75. type: string
  76. clusterProjectID:
  77. type: string
  78. serviceAccountRef:
  79. description: A reference to a ServiceAccount resource.
  80. properties:
  81. audiences:
  82. description: |-
  83. Audience specifies the `aud` claim for the service account token
  84. If the service account uses a well-known annotation for e.g. IRSA or GCP Workload Identity
  85. then this audiences will be appended to the list
  86. items:
  87. type: string
  88. type: array
  89. name:
  90. description: The name of the ServiceAccount resource being
  91. referred to.
  92. type: string
  93. namespace:
  94. description: |-
  95. Namespace of the resource being referred to. Ignored if referent is not cluster-scoped. cluster-scoped defaults
  96. to the namespace of the referent.
  97. type: string
  98. required:
  99. - name
  100. type: object
  101. required:
  102. - clusterLocation
  103. - clusterName
  104. - serviceAccountRef
  105. type: object
  106. type: object
  107. projectID:
  108. description: ProjectID defines which project to use to authenticate
  109. with
  110. type: string
  111. required:
  112. - auth
  113. - projectID
  114. type: object
  115. type: object
  116. served: true
  117. storage: true
  118. subresources:
  119. status: {}