generators.external-secrets.io_gcraccesstokens.yaml 4.8 KB

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