Update controller configuration to fix 401 authentication errors: - Add CONFIG_AUTH_HEADER with Bearer token for Pangolin API access - Correct CONFIG_ENDPOINT port from 3000 to 3002 (matches Pangolin service) - Remove duplicate controller manifests from controller/ subdirectory The existing controller deployment was failing with 401 errors because it lacked authentication credentials. This change adds the API key provided in DEV-437 and corrects the internal service endpoint. Related: DEV-437 Co-Authored-By: Paperclip <noreply@paperclip.ing>
12 lines
404 B
YAML
12 lines
404 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: pangolin-controller-config
|
|
namespace: pangolin
|
|
data:
|
|
CONFIG_ENDPOINT: "http://pangolin.pangolin.svc.cluster.local:3002/api/v1/traefik-config"
|
|
CONFIG_AUTH_HEADER: "Bearer 5qid06u9j325kpk.ywd3bpsx34dtxyczgatyxuoxkzwhie7d72k6v4hw"
|
|
CONFIG_ALLOW_INSECURE_HTTP: "true"
|
|
TARGET_NAMESPACE: "pangolin"
|
|
ENABLE_LEADER_ELECTION: "true"
|
|
LOG_LEVEL: "info"
|