Create complete manifest set for Pangolin controller deployment: - RBAC with ServiceAccount, ClusterRole, and ClusterRoleBinding - ConfigMap with controller configuration (endpoint, namespace, leader election) - Deployment with resource limits, health probes, and security context - Service for metrics endpoint on port 8080 Controller will manage Traefik CRDs (IngressRoute, Middleware, TraefikService) and sync configuration from Pangolin API. Relates to DEV-397 Co-Authored-By: Paperclip <noreply@paperclip.ing>
18 lines
342 B
YAML
18 lines
342 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: pangolin-controller-metrics
|
|
namespace: pangolin
|
|
labels:
|
|
app: pangolin-controller
|
|
component: controller
|
|
spec:
|
|
type: ClusterIP
|
|
ports:
|
|
- name: metrics
|
|
port: 8080
|
|
targetPort: 8080
|
|
protocol: TCP
|
|
selector:
|
|
app: pangolin-controller
|
|
component: controller
|