-
Notifications
You must be signed in to change notification settings - Fork 38
feat: remove kube-rbac-proxy #1095
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
Open
emirot
wants to merge
33
commits into
argoproj-labs:main
Choose a base branch
from
emirot:remove-kube-rbac
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+308
−172
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d1ed395
feat: remvoe rbac proxy
emirot 86d7952
chore: remove rbac-kube-proxy
emirot 73ca580
Merge branch 'main' into remove-kube-rbac
emirot 05a47d9
Update config/release/kustomization.yaml
emirot e3212f9
Update Tiltfile
emirot c4a3e9d
chore: remove rbac-kube-proxy
emirot 89b5472
Merge branch 'main' into remove-kube-rbac
emirot 925de7c
Merge branch 'main' into remove-kube-rbac
emirot cca4050
Merge branch 'main' into remove-kube-rbac
emirot 41badbc
Merge branch 'main' into remove-kube-rbac
emirot 2d20f7b
feat: remove kube-rbac-proxy
emirot 201b400
feat
emirot 45d9493
feat: remove kube-rbac-proxy
emirot 01616f3
feat: remove kube-rbac-proxy
emirot 85125ac
Merge branch 'main' into remove-kube-rbac
emirot 16be7a2
Merge branch 'main' into remove-kube-rbac
emirot e9f484a
chore: update deps
emirot 06c30ab
Merge branch 'main' into remove-kube-rbac
emirot e6c2672
Merge branch 'main' into remove-kube-rbac
emirot c377c4b
feat: remove kube-rbac-proxy
emirot a2809c4
feat: remove kube-rbac-proxy
emirot ffb1f44
Merge remote-tracking branch 'upstream/main' into remove-kube-rbac
emirot f01fcc8
Merge branch 'main' into remove-kube-rbac
emirot 743e796
Merge main into remove-kube-rbac
emirot bf4afb0
update deps
emirot 57ba4be
Merge branch 'main' into remove-kube-rbac
emirot 410ea53
Merge branch
emirot d085e1c
update deps
emirot 64339d2
Merge branch 'main' into remove-kube-rbac
emirot c4217e9
Merge branch 'main' into remove-kube-rbac
emirot 0c8b752
add documentation for https
emirot 3a63025
Merge branch 'main' into remove-kube-rbac
emirot a0caba3
add documentation for https
emirot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -5,3 +5,4 @@ resources: | |
| - namespace.yaml | ||
| - deployment.yaml | ||
| - webhook_service.yaml | ||
| - metrics_service.yaml | ||
19 changes: 11 additions & 8 deletions
19
config/rbac/auth_proxy_service.yaml → config/manager/metrics_service.yaml
This file contains hidden or 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 |
|---|---|---|
| @@ -1,21 +1,24 @@ | ||
| apiVersion: v1 | ||
| kind: Service | ||
| metadata: | ||
| name: controller-manager-metrics-service | ||
| labels: | ||
| control-plane: controller-manager | ||
| app.kubernetes.io/name: service | ||
| app.kubernetes.io/instance: controller-manager-metrics-service | ||
| app.kubernetes.io/component: kube-rbac-proxy | ||
| app.kubernetes.io/component: metrics | ||
| app.kubernetes.io/created-by: promoter | ||
| app.kubernetes.io/part-of: promoter | ||
| app.kubernetes.io/managed-by: kustomize | ||
| name: controller-manager-metrics-service | ||
| namespace: system | ||
| spec: | ||
| ports: | ||
| - name: https | ||
| port: 8443 | ||
| protocol: TCP | ||
| targetPort: https | ||
| selector: | ||
| control-plane: controller-manager | ||
| ports: | ||
| - name: https | ||
| port: 8443 | ||
| protocol: TCP | ||
| targetPort: https | ||
| - name: http | ||
| port: 9080 | ||
| protocol: TCP | ||
| targetPort: http |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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,17 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRole | ||
| metadata: | ||
| name: metrics-auth-role | ||
| rules: | ||
| - apiGroups: | ||
| - authentication.k8s.io | ||
| resources: | ||
| - tokenreviews | ||
| verbs: | ||
| - create | ||
| - apiGroups: | ||
| - authorization.k8s.io | ||
| resources: | ||
| - subjectaccessreviews | ||
| verbs: | ||
| - create |
This file contains hidden or 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,12 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: metrics-auth-rolebinding | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: metrics-auth-role | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: controller-manager | ||
| namespace: system |
This file contains hidden or 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,9 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRole | ||
| metadata: | ||
| name: metrics-reader | ||
| rules: | ||
| - nonResourceURLs: | ||
| - "/metrics" | ||
| verbs: | ||
| - get |
This file contains hidden or 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,12 @@ | ||
| apiVersion: rbac.authorization.k8s.io/v1 | ||
| kind: ClusterRoleBinding | ||
| metadata: | ||
| name: metrics-reader-rolebinding | ||
| roleRef: | ||
| apiGroup: rbac.authorization.k8s.io | ||
| kind: ClusterRole | ||
| name: metrics-reader | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: controller-manager | ||
| namespace: system |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.