Skip to content

Instantly share code, notes, and snippets.

@ralvares
Created October 12, 2020 12:27
Show Gist options
  • Save ralvares/14a39a54a5949ac92707b9db617dd3a9 to your computer and use it in GitHub Desktop.
Save ralvares/14a39a54a5949ac92707b9db617dd3a9 to your computer and use it in GitHub Desktop.
kind: ConfigMap
apiVersion: v1
metadata:
name: proxy-env
namespace: quay-enterprise
data:
http_proxy: 'http://admin:admin@192.168.122.1:8888'
https_proxy: 'http://admin:admin@192.168.122.1:8888'
no_proxy: 'ralvares.local,172.30.0.0/16,192.168.0.0/16,10.0.0.0/8,localhost,127.0.0.1'
---
apiVersion: redhatcop.redhat.io/v1alpha1
kind: QuayEcosystem
metadata:
name: quayecosystem
spec:
quay:
enableRepoMirroring: true
imagePullSecretName: redhat-pull-secret
registryStorage:
persistentVolumeAccessModes:
- ReadWriteOnce
persistentVolumeSize: 10Gi
repoMirrorEnvVars:
- name: http_proxy
valueFrom:
configMapKeyRef:
name: proxy-env
key: http_proxy
- name: https_proxy
valueFrom:
configMapKeyRef:
name: proxy-env
key: https_proxy
- name: no_proxy
valueFrom:
configMapKeyRef:
name: proxy-env
key: no_proxy
database:
volumeSize: 10Gi
externalAccess:
type: Route
hostname: registry.quay-enterprise.apps-demo.ralvares.local
clair:
enabled: true
envVars:
- name: http_proxy
valueFrom:
configMapKeyRef:
name: proxy-env
key: http_proxy
- name: https_proxy
valueFrom:
configMapKeyRef:
name: proxy-env
key: https_proxy
- name: no_proxy
valueFrom:
configMapKeyRef:
name: proxy-env
key: no_proxy
imagePullSecretName: redhat-pull-secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment