mirror of
https://github.com/storytold/irsa-manager.git
synced 2026-10-09 00:09:43 +00:00
remove unused proxy
This commit is contained in:
@@ -13,7 +13,7 @@ IRSA Manager allows you to easily set up IAM Roles for Service Accounts (IRSA) o
|
|||||||
IRSA (IAM Roles for Service Accounts) allows Kubernetes service accounts to assume AWS IAM roles.
|
IRSA (IAM Roles for Service Accounts) allows Kubernetes service accounts to assume AWS IAM roles.
|
||||||
This is particularly useful for providing Kubernetes workloads with the necessary AWS permissions in a secure manner.
|
This is particularly useful for providing Kubernetes workloads with the necessary AWS permissions in a secure manner.
|
||||||
|
|
||||||
For detailed guidelines on how irsa-manager works, please refer to the [**blog post**](https://medium.com/@kkb0318/simplify-aws-irsa-for-self-hosted-kubernetes-with-irsa-manager-c2fb2ecf88c5) post.
|
For detailed guidelines on how irsa-manager works, please refer to the [**blog post**](https://medium.com/@kkb0318/simplify-aws-irsa-for-self-hosted-kubernetes-with-irsa-manager-c2fb2ecf88c5).
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
|
|||||||
@@ -31,21 +31,7 @@ kubectl create secret generic aws-secret -n irsa-manager-system \
|
|||||||
|
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| controllerManager.kubeRbacProxy.args[0] | string | `"--secure-listen-address=0.0.0.0:8443"` | |
|
| controllerManager.manager.args[0] | string | `"--leader-elect"` | |
|
||||||
| controllerManager.kubeRbacProxy.args[1] | string | `"--upstream=http://127.0.0.1:8080/"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.args[2] | string | `"--logtostderr=true"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.args[3] | string | `"--v=0"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | |
|
|
||||||
| controllerManager.kubeRbacProxy.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.image.repository | string | `"gcr.io/kubebuilder/kube-rbac-proxy"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.image.tag | string | `"v0.15.0"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.resources.limits.cpu | string | `"500m"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.resources.limits.memory | string | `"128Mi"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.resources.requests.cpu | string | `"5m"` | |
|
|
||||||
| controllerManager.kubeRbacProxy.resources.requests.memory | string | `"64Mi"` | |
|
|
||||||
| controllerManager.manager.args[0] | string | `"--health-probe-bind-address=:8081"` | |
|
|
||||||
| controllerManager.manager.args[1] | string | `"--metrics-bind-address=127.0.0.1:8080"` | |
|
|
||||||
| controllerManager.manager.args[2] | string | `"--leader-elect"` | |
|
|
||||||
| controllerManager.manager.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | |
|
| controllerManager.manager.containerSecurityContext.allowPrivilegeEscalation | bool | `false` | |
|
||||||
| controllerManager.manager.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
|
| controllerManager.manager.containerSecurityContext.capabilities.drop[0] | string | `"ALL"` | |
|
||||||
| controllerManager.manager.image.repository | string | `"ghcr.io/kkb0318/irsa-manager"` | |
|
| controllerManager.manager.image.repository | string | `"ghcr.io/kkb0318/irsa-manager"` | |
|
||||||
|
|||||||
@@ -23,21 +23,6 @@ spec:
|
|||||||
kubectl.kubernetes.io/default-container: manager
|
kubectl.kubernetes.io/default-container: manager
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- args: {{- toYaml .Values.controllerManager.kubeRbacProxy.args | nindent 8 }}
|
|
||||||
env:
|
|
||||||
- name: KUBERNETES_CLUSTER_DOMAIN
|
|
||||||
value: {{ quote .Values.kubernetesClusterDomain }}
|
|
||||||
image: {{ .Values.controllerManager.kubeRbacProxy.image.repository }}:{{ .Values.controllerManager.kubeRbacProxy.image.tag
|
|
||||||
| default .Chart.AppVersion }}
|
|
||||||
name: kube-rbac-proxy
|
|
||||||
ports:
|
|
||||||
- containerPort: 8443
|
|
||||||
name: https
|
|
||||||
protocol: TCP
|
|
||||||
resources: {{- toYaml .Values.controllerManager.kubeRbacProxy.resources | nindent
|
|
||||||
10 }}
|
|
||||||
securityContext: {{- toYaml .Values.controllerManager.kubeRbacProxy.containerSecurityContext
|
|
||||||
| nindent 10 }}
|
|
||||||
- args: {{- toYaml .Values.controllerManager.manager.args | nindent 8 }}
|
- args: {{- toYaml .Values.controllerManager.manager.args | nindent 8 }}
|
||||||
command:
|
command:
|
||||||
- /manager
|
- /manager
|
||||||
|
|||||||
@@ -1,29 +1,6 @@
|
|||||||
controllerManager:
|
controllerManager:
|
||||||
kubeRbacProxy:
|
|
||||||
args:
|
|
||||||
- --secure-listen-address=0.0.0.0:8443
|
|
||||||
- --upstream=http://127.0.0.1:8080/
|
|
||||||
- --logtostderr=true
|
|
||||||
- --v=0
|
|
||||||
containerSecurityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
capabilities:
|
|
||||||
drop:
|
|
||||||
- ALL
|
|
||||||
image:
|
|
||||||
repository: gcr.io/kubebuilder/kube-rbac-proxy
|
|
||||||
tag: v0.15.0
|
|
||||||
resources:
|
|
||||||
limits:
|
|
||||||
cpu: 500m
|
|
||||||
memory: 128Mi
|
|
||||||
requests:
|
|
||||||
cpu: 5m
|
|
||||||
memory: 64Mi
|
|
||||||
manager:
|
manager:
|
||||||
args:
|
args:
|
||||||
- --health-probe-bind-address=:8081
|
|
||||||
- --metrics-bind-address=127.0.0.1:8080
|
|
||||||
- --leader-elect
|
- --leader-elect
|
||||||
containerSecurityContext:
|
containerSecurityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
@@ -15,9 +15,9 @@ namePrefix: irsa-manager-
|
|||||||
# someName: someValue
|
# someName: someValue
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ../crd
|
- ../crd
|
||||||
- ../rbac
|
- ../rbac
|
||||||
- ../manager
|
- ../manager
|
||||||
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
|
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
|
||||||
# crd/kustomization.yaml
|
# crd/kustomization.yaml
|
||||||
#- ../webhook
|
#- ../webhook
|
||||||
@@ -26,11 +26,11 @@ resources:
|
|||||||
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
|
# [PROMETHEUS] To enable prometheus monitor, uncomment all sections with 'PROMETHEUS'.
|
||||||
#- ../prometheus
|
#- ../prometheus
|
||||||
|
|
||||||
patches:
|
# patches:
|
||||||
# Protect the /metrics endpoint by putting it behind auth.
|
# Protect the /metrics endpoint by putting it behind auth.
|
||||||
# If you want your controller-manager to expose the /metrics
|
# If you want your controller-manager to expose the /metrics
|
||||||
# endpoint w/o any authn/z, please comment the following line.
|
# endpoint w/o any authn/z, please comment the following line.
|
||||||
- path: manager_auth_proxy_patch.yaml
|
# - path: manager_auth_proxy_patch.yaml
|
||||||
|
|
||||||
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
|
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
|
||||||
# crd/kustomization.yaml
|
# crd/kustomization.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user