Files
2026-01-05 13:15:49 +09:00

27 lines
570 B
YAML

apiVersion: v1
kind: ServiceAccount
metadata:
name: ingress-migrator
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ingress-migrator
rules:
- apiGroups: ["networking.k8s.io"]
resources: ["ingresses"]
verbs: ["get", "list", "update", "patch"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: ingress-migrator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ingress-migrator
subjects:
- kind: ServiceAccount
name: ingress-migrator
namespace: testapp