Delete directory 'headlamp-governance'

This commit is contained in:
2026-07-18 05:01:19 +00:00
parent 5fb673a5e5
commit f63b77f89b
6 changed files with 0 additions and 100 deletions
@@ -1,22 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-traefik-to-headlamp
namespace: headlamp
spec:
podSelector:
matchLabels:
k8s-app: headlamp
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: kube-system
podSelector:
matchLabels:
app.kubernetes.io/name: traefik
ports:
- protocol: TCP
port: 4466
-9
View File
@@ -1,9 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: headlamp
resources:
- allow-traefik-ingress.yaml
- resourcequota.yaml
- limitrange.yaml
- networkpolicy.yaml
- rbac.yaml
-13
View File
@@ -1,13 +0,0 @@
apiVersion: v1
kind: LimitRange
metadata:
name: headlamp-default-limits
spec:
limits:
- default:
cpu: 200m
memory: 256Mi
defaultRequest:
cpu: 50m
memory: 128Mi
type: Container
-18
View File
@@ -1,18 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: allow-traefik-headlamp
spec:
podSelector:
matchLabels:
k8s-app: headlamp # Label oficial que usa el deployment de Headlamp
policyTypes:
- Ingress
ingress:
- from:
- namespaceSelector: {}
ports:
- protocol: TCP
port: 80 # Puerto estándar interno
- protocol: TCP
port: 3128 # Puerto alternativo que suele usar headlamp
-27
View File
@@ -1,27 +0,0 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: headlamp-admin
namespace: headlamp
---
apiVersion: v1
kind: Secret
metadata:
name: headlamp-admin
namespace: headlamp
annotations:
kubernetes.io/service-account.name: headlamp-admin
type: kubernetes.io/service-account-token
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: headlamp-admin-binding
subjects:
- kind: ServiceAccount
name: headlamp-admin
namespace: headlamp
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io
-11
View File
@@ -1,11 +0,0 @@
apiVersion: v1
kind: ResourceQuota
metadata:
name: headlamp-quota
spec:
hard:
requests.cpu: 500m
requests.memory: 512Mi
limits.cpu: "1"
limits.memory: 1Gi
pods: "5"