126 lines
2.3 KiB
YAML
126 lines
2.3 KiB
YAML
# Default values for rdpbroker
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: rdpbroker
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
|
|
imagePullSecrets: []
|
|
nameOverride: ""
|
|
fullnameOverride: ""
|
|
|
|
serviceAccount:
|
|
create: true
|
|
annotations: {}
|
|
name: ""
|
|
|
|
podAnnotations: {}
|
|
|
|
podSecurityContext:
|
|
fsGroup: 1000
|
|
|
|
securityContext:
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
|
|
service:
|
|
type: LoadBalancer
|
|
port: 3389
|
|
targetPort: 3389
|
|
annotations: {}
|
|
# For cloud providers, you can specify loadBalancerIP
|
|
# loadBalancerIP: "10.0.0.100"
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 1000m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 10
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector: {}
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
# RdpBroker specific configuration
|
|
config:
|
|
# Samba AD Configuration
|
|
sambaAD:
|
|
server: "ad.example.com"
|
|
port: 389
|
|
baseDN: "DC=example,DC=com"
|
|
# For secure LDAP, use port 636
|
|
# useTLS: true
|
|
|
|
# RDP Server Configuration
|
|
rdp:
|
|
listenPort: 3389
|
|
|
|
# Logging Configuration
|
|
logging:
|
|
level: "INFO" # DEBUG, INFO, WARN, ERROR
|
|
|
|
# RDP Targets Configuration
|
|
targets:
|
|
# This will be mounted as targets.yaml
|
|
# You can also use an existing ConfigMap by setting existingConfigMap
|
|
existingConfigMap: ""
|
|
|
|
# Define targets here or use existingConfigMap
|
|
data: |
|
|
targets:
|
|
- name: "Windows Server 01"
|
|
host: "192.168.1.10"
|
|
port: 3389
|
|
description: "Production Web Server"
|
|
|
|
- name: "Windows Server 02"
|
|
host: "192.168.1.11"
|
|
port: 3389
|
|
description: "Database Server"
|
|
|
|
- name: "Development Desktop"
|
|
host: "dev-machine.local"
|
|
port: 3389
|
|
description: "Developer Workstation"
|
|
|
|
# Persistence for logs (optional)
|
|
persistence:
|
|
enabled: false
|
|
storageClass: ""
|
|
accessMode: ReadWriteOnce
|
|
size: 1Gi
|
|
mountPath: /var/log/rdpbroker
|
|
|
|
# Network Policy (optional)
|
|
networkPolicy:
|
|
enabled: false
|
|
policyTypes:
|
|
- Ingress
|
|
ingress:
|
|
- from:
|
|
- namespaceSelector:
|
|
matchLabels:
|
|
name: default
|
|
ports:
|
|
- protocol: TCP
|
|
port: 3389
|