Skip to content

Agent Mesh

reduce privileged operations

Antonio Ojeab90a037d5a72
diff --git a/.github/k8s/dex-deployment.yaml b/.github/k8s/dex-deployment.yaml
index 1147c4e2..5b64f9ab 100644
--- a/.github/k8s/dex-deployment.yaml
+++ b/.github/k8s/dex-deployment.yaml
@@ -5,31 +5,6 @@ metadata:
name: dex
namespace: dex
---
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRole
-metadata:
- name: dex
-rules:
-- apiGroups: ["dex.coreos.com"]
- resources: ["*"]
- verbs: ["*"]
-- apiGroups: ["apiextensions.k8s.io"]
- resources: ["customresourcedefinitions"]
- verbs: ["create"]
----
-apiVersion: rbac.authorization.k8s.io/v1
-kind: ClusterRoleBinding
-metadata:
- name: dex
-roleRef:
- apiGroup: rbac.authorization.k8s.io
- kind: ClusterRole
- name: dex
-subjects:
-- kind: ServiceAccount
- name: dex
- namespace: dex
----
# Custom Health Check configuration for the Google Cloud Load Balancer
apiVersion: cloud.google.com/v1
kind: BackendConfig
@@ -156,11 +131,11 @@ metadata:
name: dex-ingress
namespace: dex
annotations:
- kubernetes.io/ingress.class: "gce"
networking.gke.io/managed-certificates: dex-cert
# Tells GKE to attach the global static IP you reserved earlier
kubernetes.io/ingress.global-static-ip-name: "auth-sam-mash"
spec:
+ ingressClassName: "gce"
rules:
- host: auth.sam-mesh.dev
http: