-
Notifications
You must be signed in to change notification settings - Fork 34
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
Remove kube-rbac-proxy #556
Remove kube-rbac-proxy #556
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #556 +/- ##
==========================================
- Coverage 75.65% 75.33% -0.33%
==========================================
Files 40 40
Lines 2481 2497 +16
==========================================
+ Hits 1877 1881 +4
- Misses 514 527 +13
+ Partials 90 89 -1 ☔ View full report in Codecov by Sentry. |
289e91d
to
e616548
Compare
e616548
to
b98d470
Compare
b98d470
to
6c48a2e
Compare
/retest |
6c48a2e
to
da32304
Compare
da32304
to
4d85108
Compare
/retest |
1 similar comment
/retest |
4d85108
to
e349524
Compare
/cherry-pick release-1.0 |
@dgn: once the present PR merges, I will cherry-pick it on top of In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
e349524
to
f9e75ed
Compare
subjects: | ||
- kind: ServiceAccount | ||
name: %s | ||
namespace: %s |
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.
Nice work Daniel. I verified the PR in both v4 and dualStack clusters and it works fine.
$ curl -4 -s -k -H "Authorization: Bearer `cat /var/run/secrets/kubernetes.io/serviceaccount/token`" https://sail-operator-metrics-service.sail-operator.svc.cluster.local:8443/metrics
# HELP certwatcher_read_certificate_errors_total Total number of certificate read errors
# TYPE certwatcher_read_certificate_errors_total counter
certwatcher_read_certificate_errors_total 0
# HELP certwatcher_read_certificate_total Total number of certificate reads
# TYPE certwatcher_read_certificate_total counter
certwatcher_read_certificate_total 0
$ curl -6 -s -k -H "Authorization: Bearer `cat /var/run/secrets/kubernetes.io/serviceaccount/token`" https://sail-operator-metrics-service.sail-operator.svc.cluster.local:8443/metrics
# HELP certwatcher_read_certificate_errors_total Total number of certificate read errors
# TYPE certwatcher_read_certificate_errors_total counter
certwatcher_read_certificate_errors_total 0
# HELP certwatcher_read_certificate_total Total number of certificate reads
# TYPE certwatcher_read_certificate_total counter
certwatcher_read_certificate_total 0
Suggestion:
-
Instead of spawning the "curl-metrics" pod in the "sail-operator" namespace, probably it would be good to create a new namespace and run the curl from that namespace.
-
In the current state after running the e2e test, the
curl-metrics
pod continues to stay in "completed" state. If we use a different namespace, we can even delete the namespace after the validation (i.e., in Line 178) to remove all the test artifacts.
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.
Thanks Sridhar! Good idea to use a different namespace. Will push a change
f9e75ed
to
906c1da
Compare
Replaces proxy with controller-runtime functionality. Fixes istio-ecosystem#502. Signed-off-by: Daniel Grimm <[email protected]>
906c1da
to
7a07d4e
Compare
@dgn: new pull request created: #577 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
* upstream/main: Remove kube-rbac-proxy (istio-ecosystem#556) Remove automatic channel prefix detection (istio-ecosystem#574) Create IstioRevisionTag documentation (istio-ecosystem#511) # Conflicts: # bundle/manifests/sail-operator-metrics-service_v1_service.yaml # bundle/manifests/sailoperator.clusterserviceversion.yaml
Replaces proxy with controller-runtime functionality. Fixes #502.