...
1apiVersion: apiextensions.k8s.io/v1
2kind: CustomResourceDefinition
3metadata:
4 annotations:
5 api-approved.openshift.io: https://github.com/openshift/api/pull/470
6 include.release.openshift.io/ibm-cloud-managed: "true"
7 include.release.openshift.io/self-managed-high-availability: "true"
8 include.release.openshift.io/single-node-developer: "true"
9 name: proxies.config.openshift.io
10spec:
11 group: config.openshift.io
12 names:
13 kind: Proxy
14 listKind: ProxyList
15 plural: proxies
16 singular: proxy
17 scope: Cluster
18 versions:
19 - name: v1
20 schema:
21 openAPIV3Schema:
22 description: "Proxy holds cluster-wide information on how to configure default proxies for the cluster. The canonical name is `cluster` \n Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer)."
23 type: object
24 required:
25 - spec
26 properties:
27 apiVersion:
28 description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
29 type: string
30 kind:
31 description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32 type: string
33 metadata:
34 type: object
35 spec:
36 description: Spec holds user-settable values for the proxy configuration
37 type: object
38 properties:
39 httpProxy:
40 description: httpProxy is the URL of the proxy for HTTP requests. Empty means unset and will not result in an env var.
41 type: string
42 httpsProxy:
43 description: httpsProxy is the URL of the proxy for HTTPS requests. Empty means unset and will not result in an env var.
44 type: string
45 noProxy:
46 description: noProxy is a comma-separated list of hostnames and/or CIDRs and/or IPs for which the proxy should not be used. Empty means unset and will not result in an env var.
47 type: string
48 readinessEndpoints:
49 description: readinessEndpoints is a list of endpoints used to verify readiness of the proxy.
50 type: array
51 items:
52 type: string
53 trustedCA:
54 description: "trustedCA is a reference to a ConfigMap containing a CA certificate bundle. The trustedCA field should only be consumed by a proxy validator. The validator is responsible for reading the certificate bundle from the required key \"ca-bundle.crt\", merging it with the system default trust bundle, and writing the merged trust bundle to a ConfigMap named \"trusted-ca-bundle\" in the \"openshift-config-managed\" namespace. Clients that expect to make proxy connections must use the trusted-ca-bundle for all HTTPS requests to the proxy, and may use the trusted-ca-bundle for non-proxy HTTPS requests as well. \n The namespace for the ConfigMap referenced by trustedCA is \"openshift-config\". Here is an example ConfigMap (in yaml): \n apiVersion: v1 kind: ConfigMap metadata: name: user-ca-bundle namespace: openshift-config data: ca-bundle.crt: | -----BEGIN CERTIFICATE----- Custom CA certificate bundle. -----END CERTIFICATE-----"
55 type: object
56 required:
57 - name
58 properties:
59 name:
60 description: name is the metadata.name of the referenced config map
61 type: string
62 status:
63 description: status holds observed values from the cluster. They may not be overridden.
64 type: object
65 properties:
66 httpProxy:
67 description: httpProxy is the URL of the proxy for HTTP requests.
68 type: string
69 httpsProxy:
70 description: httpsProxy is the URL of the proxy for HTTPS requests.
71 type: string
72 noProxy:
73 description: noProxy is a comma-separated list of hostnames and/or CIDRs for which the proxy should not be used.
74 type: string
75 served: true
76 storage: true
77 subresources:
78 status: {}
View as plain text