-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 configmap etcd-serving-ca.kube-system #551
add configmap etcd-serving-ca.kube-system #551
Conversation
sanchezl
commented
Oct 26, 2018
•
edited
Loading
edited
- manifests: add secret etcd-client.kube-system (used to be in cluster-kube-apiserver-operator renderer)
- docs: updated the dependency graph at docs/design/resource_dep.svg
openshift.io/component: "api" | ||
data: | ||
ca-bundle.crt: | | ||
{{ .Assets | load .EtcdServingCA | indent 4 }} |
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.
Please link me to where this gets substituted. I would expect this to fail.
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.
Fixed
pkg/asset/manifests/operators.go
Outdated
@@ -191,6 +191,7 @@ func (m *Manifests) generateBootKubeManifests(dependencies asset.Parents) []*ass | |||
"app-version-kind.yaml": []byte(bootkube.AppVersionKind), | |||
"app-version-tectonic-network.yaml": []byte(bootkube.AppVersionTectonicNetwork), | |||
"etcd-service.yaml": []byte(bootkube.EtcdServiceKubeSystem), | |||
"kube-system-configmap-etcd-serving-ca.yaml": []byte(bootkube.KubeSystemConfigmapEtcdServingCA), |
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.
Have you tested this? template substitution appears to happen in the stanza above, though even so I think the parameters used don't match this pull.
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.
Fixed
@sanchezl contribution requirements to this repo are different. please adjust your commit message per https://github.com/openshift/installer/blob/master/CONTRIBUTING.md#commit-message-format and our agreement with @crawford and @abhinavdahiya |
9b36697
to
04809f8
Compare
04809f8
to
b78f984
Compare
pkg/asset/manifests/content/bootkube/kube-system-configmap-etcd-serving-ca.go
Show resolved
Hide resolved
b78f984
to
62da5b2
Compare
@sanchezl is this one ready now? |
The 62da5b2 commit message says:
But on a quick skim, I didn't see any PRs there making that change. Can you link us to the operator change? |
|
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest |
/retest Please review the full test history for this PR and help us cut down flakes. |
tier: "control-plane" | ||
k8s-app: "kube-apiserver" | ||
openshift.io/control-plane: "true" | ||
openshift.io/component: "api" |
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.
As here, it would be nice to know what these labels are for. That makes us less likely to break things accidentally if someone proposes we change/remove one of them later ;).
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.
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.
Removed them all.
62da5b2
to
81f5066
Compare
81f5066
to
414aab1
Compare
414aab1
to
67124a9
Compare
@abhinavdahiya it was rebased and labels removed. As a general statement, do you mind me re-labeling simple changes like that? |
Sure, except /lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
67124a9
to
f68c64f
Compare
@sanchezl indicate what changed and why |
rebased and generated new dependency graph |
Manifest to create this resources belongs in installer. The renderer in cluster-kube-apiserver-operator will need to be also changed to stop creating the same manifest file. Also, updated the dependency graph at docs/design/resource_dep.svg
f68c64f
to
7294a3d
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, sanchezl 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 just to see |