Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
261 additions
and
1 deletion.
There are no files selected for viewing
96 changes: 96 additions & 0 deletions
96
deploy/chart/templates/e2e-local-01-openshift-config-proxy-crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{{- if .Values.e2eLocalMode }} | ||
apiVersion: apiextensions.k8s.io/v1beta1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
creationTimestamp: "2019-07-08T17:25:44Z" | ||
generation: 1 | ||
name: proxies.config.openshift.io | ||
resourceVersion: "403" | ||
selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/proxies.config.openshift.io | ||
uid: 6af86a13-a1a5-11e9-b519-0a2c4a2d8fc8 | ||
spec: | ||
conversion: | ||
strategy: None | ||
group: config.openshift.io | ||
names: | ||
kind: Proxy | ||
listKind: ProxyList | ||
plural: proxies | ||
singular: proxy | ||
scope: Cluster | ||
subresources: | ||
status: {} | ||
validation: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
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/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
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/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: Spec holds user-settable values for the proxy configuration | ||
properties: | ||
httpProxy: | ||
description: httpProxy is the URL of the proxy for HTTP requests. Empty | ||
means unset and will not result in an env var. | ||
type: string | ||
httpsProxy: | ||
description: httpsProxy is the URL of the proxy for HTTPS requests. Empty | ||
means unset and will not result in an env var. | ||
type: string | ||
noProxy: | ||
description: noProxy is a comma-separated list of hostnames and/or CIDRs | ||
for which the proxy should not be used. Empty means unset and will | ||
not result in an env var. | ||
type: string | ||
type: object | ||
status: | ||
description: status holds observed values from the cluster. They may not | ||
be overridden. | ||
properties: | ||
httpProxy: | ||
description: httpProxy is the URL of the proxy for HTTP requests. | ||
type: string | ||
httpsProxy: | ||
description: httpsProxy is the URL of the proxy for HTTPS requests. | ||
type: string | ||
noProxy: | ||
description: noProxy is a comma-separated list of hostnames and/or CIDRs | ||
for which the proxy should not be used. | ||
type: string | ||
type: object | ||
required: | ||
- spec | ||
version: v1 | ||
versions: | ||
- name: v1 | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: Proxy | ||
listKind: ProxyList | ||
plural: proxies | ||
singular: proxy | ||
conditions: | ||
- lastTransitionTime: "2019-07-08T17:25:44Z" | ||
message: no conflicts found | ||
reason: NoConflicts | ||
status: "True" | ||
type: NamesAccepted | ||
- lastTransitionTime: null | ||
message: the initial names have been accepted | ||
reason: InitialNamesAccepted | ||
status: "True" | ||
type: Established | ||
storedVersions: | ||
- v1 | ||
{{- end }} |
10 changes: 10 additions & 0 deletions
10
deploy/chart/templates/e2e-local-02-openshift-cluster-proxy-cr.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{{- if .Values.e2eLocalMode }} | ||
apiVersion: config.openshift.io/v1 | ||
kind: Proxy | ||
metadata: | ||
name: cluster | ||
spec: | ||
httpProxy: "http://foo.com:8080" | ||
httpsProxy: "https://foo.com:8080" | ||
noProxy: "a,b,c" | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
writeStatusName: '""' | ||
debug: true | ||
e2eLocalMode: true | ||
|
||
olm: | ||
replicaCount: 1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters