55# Namespace where the agent will be deployed
66namespaceOverride : " "
77
8+ # Hostname for external access
9+ hostname : " thand-agent.local"
10+
811# Number of replicas for the deployment
912replicaCount : 1
1013
@@ -87,14 +90,14 @@ ingress:
8790 # kubernetes.io/ingress.class: nginx
8891 # cert-manager.io/cluster-issuer: letsencrypt-prod
8992 hosts :
90- - host : thand-agent.local
93+ - host : " {{ .Values.hostname }} "
9194 paths :
9295 - path : /
9396 pathType : Prefix
9497 tls : []
9598 # - secretName: thand-agent-tls
9699 # hosts:
97- # - thand-agent.local
100+ # - "{{ .Values.hostname }}"
98101
99102# HTTPRoute configuration (Gateway API)
100103httpRoute :
@@ -104,7 +107,7 @@ httpRoute:
104107 - name : gateway
105108 sectionName : http
106109 hostnames :
107- - thand-agent.local
110+ - " {{ .Values.hostname }} "
108111 rules :
109112 - matches :
110113 - path :
@@ -162,6 +165,8 @@ affinity: {}
162165# Environment variables
163166env :
164167 # Log level: debug, info, warn, error
168+ - name : THAND_LOGIN_ENDPOINT
169+ value : " {{ .Values.hostname }}"
165170 - name : THAND_LOG_LEVEL
166171 value : " info"
167172 # Server port
@@ -182,10 +187,37 @@ envFrom: []
182187# - configMapRef:
183188# name: thand-config
184189
190+ # Application secrets configuration
191+ # Used for storing sensitive data like API keys, tokens, etc.
192+ secrets :
193+ # If true, creates a secret with the specified data
194+ enabled : true
195+ # Mount existing secret instead of creating one
196+ existingSecret : " "
197+ # Auto-generate secrets on deployment
198+ generate :
199+ # Enable automatic secret generation
200+ enabled : true
201+ # Length of generated secrets
202+ length : 32
203+ # List of secret keys to auto-generate if not provided in data
204+ keys :
205+ - " THAND_SECRET"
206+ # Secret data - will be base64 encoded automatically
207+ # If a key is listed in generate.keys and not provided here, it will be auto-generated
208+ data : {}
209+ # THAND_SECRET: "your-secret-value-here" # If provided, this overrides auto-generation
210+ # THAND_API_KEY: "your-api-key-here" # For Thand Cloud access
211+
185212# Thand Agent Configuration
186213config :
187214 # Main configuration for the agent
188215 # This will be mounted as config.yaml
216+
217+ login :
218+ endpoint : " {{ .Values.hostname }}"
219+ base : " /"
220+
189221 server :
190222 port : 8080
191223 host : " 0.0.0.0"
@@ -195,6 +227,9 @@ config:
195227 ready :
196228 enabled : true
197229 path : " /ready"
230+ metrics :
231+ enabled : true
232+ path : " /metrics"
198233
199234 logging :
200235 level : " info"
0 commit comments