Skip to content

Commit

Permalink
Add docs for env variable upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
syed authored and openshift-merge-bot[bot] committed Aug 10, 2024
1 parent 7abb692 commit 5a9b970
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions docs/environment-overrides.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Environment variables override

If you want to override environment variables for any component in the operator
deployment, you can do so by adding a `overrides:` section

example:

```
kind: QuayRegistry
metadata:
name: quay37
spec:
configBundleSecret: config-bundle-secret
components:
- kind: objectstorage
managed: false
- kind: route
managed: true
- kind: mirror
managed: true
overrides:
env:
- name: DEBUGLOG
value: "true"
- name: HTTP_PROXY
value: quayproxy.qe.devcluster.openshift.com:3128
- name: HTTPS_PROXY
value: quayproxy.qe.devcluster.openshift.com:3128
- name: NO_PROXY
value: svc.cluster.local,localhost,quay370.apps.quayperf370.perfscale.devcluster.openshift.com
- kind: tls
managed: false
- kind: clair
managed: true
overrides:
env:
- name: HTTP_PROXY
value: quayproxy.qe.devcluster.openshift.com:3128
- name: HTTPS_PROXY
value: quayproxy.qe.devcluster.openshift.com:3128
- name: NO_PROXY
value: svc.cluster.local,localhost,quay370.apps.quayperf370.perfscale.devcluster.openshift.com
- kind: quay
managed: true
overrides:
env:
- name: DEBUGLOG
value: "true"
- name: NO_PROXY
value: svc.cluster.local,localhost,quay370.apps.quayperf370.perfscale.devcluster.openshift.com
- name: HTTP_PROXY
value: quayproxy.qe.devcluster.openshift.com:3128
- name: HTTPS_PROXY
value: quayproxy.qe.devcluster.openshift.com:3128
```

0 comments on commit 5a9b970

Please sign in to comment.