Commit aafeabf5 authored by Sandro Mathys's avatar Sandro Mathys
Browse files

leverage dependency-proxy for third-party images

parent 3a830c18
......@@ -15,8 +15,11 @@ spec:
labels:
app: shibboleth-sp-helm-chart-example-webserver
spec:
imagePullSecrets:
# personal(!) access token with read AND write privileges to the registry in order to use the dependency proxy
- name: shibboleth-sp-dependency-proxy
containers:
- image: cr.gitlab-int.switch.ch/maps/upstream-images/httpd:2.4-alpine
- image: https://gitlab.switch.ch/helm-charts/shibboleth-sp/dependency_proxy/containers/httpd:2.4-alpine
name: apache
ports:
- containerPort: 8080
......
......@@ -6,10 +6,13 @@ metadata:
annotations:
"helm.sh/hook": test
spec:
imagePullSecrets:
# personal(!) access token with read AND write privileges to the registry in order to use the dependency proxy
- name: shibboleth-sp-dependency-proxy
containers:
# check apache is responding
- name: root
image: "cr.gitlab-int.switch.ch/maps/upstream-images/curlimages/curl:7.75.0"
image: "https://gitlab.switch.ch/helm-charts/shibboleth-sp/dependency_proxy/containers/curlimages/curl:7.75.0"
command:
- "sh"
- "-c"
......@@ -24,7 +27,7 @@ spec:
grep "Location: https://wayf.switch.ch/SWITCHaai/WAYF" /tmp/header.out
# check shibboleth is responding
- name: session
image: "cr.gitlab-int.switch.ch/maps/upstream-images/curlimages/curl:7.75.0"
image: "https://gitlab.switch.ch/helm-charts/shibboleth-sp/dependency_proxy/containers/curlimages/curl:7.75.0"
command:
- "sh"
- "-c"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment