-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add temporary hack to copy service ca to cluster nodes #72
Conversation
@derekwaynecarr @mrunalp ptal |
/retest |
deploy/08-ca-daemonset.yaml
Outdated
- "/bin/sh" | ||
args: | ||
- "-c" | ||
- "mkdir /etc/docker/certs.d/image-registry.openshift-image-registry.svc.cluster.local:5000; cp /tmp/serviceca/service-ca.crt /etc/docker/certs.d/image-registry.openshift-image-registry.svc.cluster.local:5000; sleep 60" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the sleep for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so the pod dies every minute and restarts, which will cause it to pick up any change to the CA in the configmap and re-copy it.
@ironcladlou fyi this (temporarily) fixes the CA trust issue for the registry. @smarterclayton not sure who's around who can review this, maybe you can? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bparees, smarterclayton The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
2 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
This is a temporary hack to ensure the service-ca (which signs the registry service) gets copied to the host nodes.
In the future this needs to be replaced/enhanced in such a way that
should use the base image from the release, not centos