generators.external-secrets.io_gcraccesstokens.yaml 4.9 KB

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