|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.9.2 |
| 7 | + creationTimestamp: null |
| 8 | + name: secretsyncs.capi.weave.works |
| 9 | +spec: |
| 10 | + group: capi.weave.works |
| 11 | + names: |
| 12 | + kind: SecretSync |
| 13 | + listKind: SecretSyncList |
| 14 | + plural: secretsyncs |
| 15 | + singular: secretsync |
| 16 | + scope: Namespaced |
| 17 | + versions: |
| 18 | + - name: v1alpha2 |
| 19 | + schema: |
| 20 | + openAPIV3Schema: |
| 21 | + properties: |
| 22 | + apiVersion: |
| 23 | + description: 'APIVersion defines the versioned schema of this representation |
| 24 | + of an object. Servers should convert recognized schemas to the latest |
| 25 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 26 | + type: string |
| 27 | + kind: |
| 28 | + description: 'Kind is a string value representing the REST resource this |
| 29 | + object represents. Servers may infer this from the endpoint the client |
| 30 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 31 | + type: string |
| 32 | + metadata: |
| 33 | + type: object |
| 34 | + spec: |
| 35 | + description: SecretSyncSpec |
| 36 | + properties: |
| 37 | + clusterSelector: |
| 38 | + description: ClusterSelector specifies the label selector to match |
| 39 | + clusters with |
| 40 | + properties: |
| 41 | + matchExpressions: |
| 42 | + description: matchExpressions is a list of label selector requirements. |
| 43 | + The requirements are ANDed. |
| 44 | + items: |
| 45 | + description: A label selector requirement is a selector that |
| 46 | + contains values, a key, and an operator that relates the key |
| 47 | + and values. |
| 48 | + properties: |
| 49 | + key: |
| 50 | + description: key is the label key that the selector applies |
| 51 | + to. |
| 52 | + type: string |
| 53 | + operator: |
| 54 | + description: operator represents a key's relationship to |
| 55 | + a set of values. Valid operators are In, NotIn, Exists |
| 56 | + and DoesNotExist. |
| 57 | + type: string |
| 58 | + values: |
| 59 | + description: values is an array of string values. If the |
| 60 | + operator is In or NotIn, the values array must be non-empty. |
| 61 | + If the operator is Exists or DoesNotExist, the values |
| 62 | + array must be empty. This array is replaced during a strategic |
| 63 | + merge patch. |
| 64 | + items: |
| 65 | + type: string |
| 66 | + type: array |
| 67 | + required: |
| 68 | + - key |
| 69 | + - operator |
| 70 | + type: object |
| 71 | + type: array |
| 72 | + matchLabels: |
| 73 | + additionalProperties: |
| 74 | + type: string |
| 75 | + description: matchLabels is a map of {key,value} pairs. A single |
| 76 | + {key,value} in the matchLabels map is equivalent to an element |
| 77 | + of matchExpressions, whose key field is "key", the operator |
| 78 | + is "In", and the values array contains only "value". The requirements |
| 79 | + are ANDed. |
| 80 | + type: object |
| 81 | + type: object |
| 82 | + x-kubernetes-map-type: atomic |
| 83 | + secretRef: |
| 84 | + description: SecretRef specifies the Secret to be bootstrapped to |
| 85 | + the matched clusters Secret must be in the same namespace of the |
| 86 | + SecretSync object |
| 87 | + properties: |
| 88 | + name: |
| 89 | + description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 90 | + TODO: Add other useful fields. apiVersion, kind, uid?' |
| 91 | + type: string |
| 92 | + type: object |
| 93 | + x-kubernetes-map-type: atomic |
| 94 | + targetNamespace: |
| 95 | + description: TargetNamespace specifies the namespace which the secret |
| 96 | + should be bootstrapped in The default value is the namespace of |
| 97 | + the referenced secret |
| 98 | + type: string |
| 99 | + required: |
| 100 | + - clusterSelector |
| 101 | + - secretRef |
| 102 | + type: object |
| 103 | + status: |
| 104 | + description: SecretSyncStatus secretsync object status |
| 105 | + properties: |
| 106 | + versions: |
| 107 | + additionalProperties: |
| 108 | + type: string |
| 109 | + description: SecretVersions a map contains the ResourceVersion of |
| 110 | + the secret of each cluster Cluster name is the key and secret's |
| 111 | + ResourceVersion is the value |
| 112 | + type: object |
| 113 | + required: |
| 114 | + - versions |
| 115 | + type: object |
| 116 | + type: object |
| 117 | + served: true |
| 118 | + storage: true |
| 119 | + subresources: |
| 120 | + status: {} |
0 commit comments