Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(workflow-dev): re-introduce registry-proxy
This re-introduces registry-proxy to the workflow components, though this time we are using Docker's recommendations in docker/distribution's `contrib/` section. See https://github.com/deis/registry-proxy
- Loading branch information
Matthew Fisher
committed
Jul 28, 2016
1 parent
4e089ad
commit 78e77cb
Showing
4 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
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
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,36 @@ | ||
#helm:generate helm tpl -d $HELM_GENERATE_DIR/tpl/generate_params.toml -o $HELM_GENERATE_DIR/manifests/deis-registry-proxy.yaml $HELM_GENERATE_FILE | ||
apiVersion: extensions/v1beta1 | ||
kind: DaemonSet | ||
metadata: | ||
name: deis-registry-proxy | ||
namespace: deis | ||
labels: | ||
heritage: deis | ||
spec: | ||
selector: | ||
matchLabels: | ||
app: deis-registry-proxy | ||
heritage: deis | ||
template: | ||
metadata: | ||
name: deis-registry-proxy | ||
labels: | ||
heritage: deis | ||
app: deis-registry-proxy | ||
spec: | ||
containers: | ||
- name: deis-registry-proxy | ||
image: quay.io/{{.registry_proxy.org}}/registry-proxy:{{env "REGISTRY_PROXY_GIT_TAG" | default .registry_proxy.dockerTag}} | ||
imagePullPolicy: {{.registry_proxy.pullPolicy}} | ||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 50Mi | ||
env: | ||
- name: REGISTRY_HOST | ||
value: $(DEIS_REGISTRY_SERVICE_HOST) | ||
- name: REGISTRY_PORT | ||
value: $(DEIS_REGISTRY_SERVICE_PORT) | ||
ports: | ||
- containerPort: 80 | ||
hostPort: 5555 |
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