github.com/oam-dev/kubevela@v1.9.11/e2e/addon/mock/testdata/fluxcd/resources/crds/helm-repo.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 annotations: 5 controller-gen.kubebuilder.io/version: v0.5.0 6 labels: 7 app.kubernetes.io/instance: flux-system 8 name: helmrepositories.source.toolkit.fluxcd.io 9 spec: 10 group: source.toolkit.fluxcd.io 11 names: 12 kind: HelmRepository 13 listKind: HelmRepositoryList 14 plural: helmrepositories 15 shortNames: 16 - helmrepo 17 singular: helmrepository 18 scope: Namespaced 19 versions: 20 - additionalPrinterColumns: 21 - jsonPath: .spec.url 22 name: URL 23 type: string 24 - jsonPath: .status.conditions[?(@.type=="Ready")].status 25 name: Ready 26 type: string 27 - jsonPath: .status.conditions[?(@.type=="Ready")].message 28 name: Status 29 type: string 30 - jsonPath: .metadata.creationTimestamp 31 name: Age 32 type: date 33 name: v1beta1 34 schema: 35 openAPIV3Schema: 36 description: HelmRepository is the Schema for the helmrepositories API 37 properties: 38 apiVersion: 39 description: 'APIVersion defines the versioned schema of this representation 40 of an object. Servers should convert recognized schemas to the latest 41 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 42 type: string 43 kind: 44 description: 'Kind is a string value representing the REST resource this 45 object represents. Servers may infer this from the endpoint the client 46 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 47 type: string 48 metadata: 49 type: object 50 spec: 51 description: HelmRepositorySpec defines the reference to a Helm repository. 52 properties: 53 interval: 54 description: The interval at which to check the upstream for updates. 55 type: string 56 passCredentials: 57 description: PassCredentials allows the credentials from the SecretRef 58 to be passed on to a host that does not match the host as defined 59 in URL. This may be required if the host of the advertised chart 60 URLs in the index differ from the defined URL. Enabling this should 61 be done with caution, as it can potentially result in credentials 62 getting stolen in a MITM-attack. 63 type: boolean 64 secretRef: 65 description: The name of the secret containing authentication credentials 66 for the Helm repository. For HTTP/S basic auth the secret must contain 67 username and password fields. For TLS the secret must contain a 68 certFile and keyFile, and/or caCert fields. 69 properties: 70 name: 71 description: Name of the referent 72 type: string 73 required: 74 - name 75 type: object 76 suspend: 77 description: This flag tells the controller to suspend the reconciliation 78 of this source. 79 type: boolean 80 timeout: 81 default: 60s 82 description: The timeout of index downloading, defaults to 60s. 83 type: string 84 url: 85 description: The Helm repository URL, a valid URL contains at least 86 a protocol and host. 87 type: string 88 required: 89 - interval 90 - url 91 type: object 92 status: 93 description: HelmRepositoryStatus defines the observed state of the HelmRepository. 94 properties: 95 artifact: 96 description: Artifact represents the output of the last successful 97 repository sync. 98 properties: 99 checksum: 100 description: Checksum is the SHA1 checksum of the artifact. 101 type: string 102 lastUpdateTime: 103 description: LastUpdateTime is the timestamp corresponding to 104 the last update of this artifact. 105 format: date-time 106 type: string 107 path: 108 description: Path is the relative file path of this artifact. 109 type: string 110 revision: 111 description: Revision is a human readable identifier traceable 112 in the origin source system. It can be a Git commit SHA, Git 113 tag, a Helm index timestamp, a Helm chart version, etc. 114 type: string 115 url: 116 description: URL is the HTTP address of this artifact. 117 type: string 118 required: 119 - path 120 - url 121 type: object 122 conditions: 123 description: Conditions holds the conditions for the HelmRepository. 124 items: 125 description: "Condition contains details for one aspect of the current 126 state of this API Resource. --- This struct is intended for direct 127 use as an array at the field path .status.conditions. For example, 128 type FooStatus struct{ // Represents the observations of a 129 foo's current state. // Known .status.conditions.type are: 130 \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type 131 \ // +patchStrategy=merge // +listType=map // +listMapKey=type 132 \ Conditions []metav1.Condition `json:\"conditions,omitempty\" 133 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` 134 \n // other fields }" 135 properties: 136 lastTransitionTime: 137 description: lastTransitionTime is the last time the condition 138 transitioned from one status to another. This should be when 139 the underlying condition changed. If that is not known, then 140 using the time when the API field changed is acceptable. 141 format: date-time 142 type: string 143 message: 144 description: message is a human readable message indicating 145 details about the transition. This may be an empty string. 146 maxLength: 32768 147 type: string 148 observedGeneration: 149 description: observedGeneration represents the .metadata.generation 150 that the condition was set based upon. For instance, if .metadata.generation 151 is currently 12, but the .status.conditions[x].observedGeneration 152 is 9, the condition is out of date with respect to the current 153 state of the instance. 154 format: int64 155 minimum: 0 156 type: integer 157 reason: 158 description: reason contains a programmatic identifier indicating 159 the reason for the condition's last transition. Producers 160 of specific condition types may define expected values and 161 meanings for this field, and whether the values are considered 162 a guaranteed API. The value should be a CamelCase string. 163 This field may not be empty. 164 maxLength: 1024 165 minLength: 1 166 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 167 type: string 168 status: 169 description: status of the condition, one of True, False, Unknown. 170 enum: 171 - "True" 172 - "False" 173 - Unknown 174 type: string 175 type: 176 description: type of condition in CamelCase or in foo.example.com/CamelCase. 177 --- Many .condition.type values are consistent across resources 178 like Available, but because arbitrary conditions can be useful 179 (see .node.status.conditions), the ability to deconflict is 180 important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) 181 maxLength: 316 182 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 183 type: string 184 required: 185 - lastTransitionTime 186 - message 187 - reason 188 - status 189 - type 190 type: object 191 type: array 192 lastHandledReconcileAt: 193 description: LastHandledReconcileAt holds the value of the most recent 194 reconcile request value, so a change can be detected. 195 type: string 196 observedGeneration: 197 description: ObservedGeneration is the last observed generation. 198 format: int64 199 type: integer 200 url: 201 description: URL is the download link for the last index fetched. 202 type: string 203 type: object 204 type: object 205 served: true 206 storage: true 207 subresources: 208 status: {}