REFACTOR(repo): restructure apps folder and remove CreateNamespace
- Remove argocd/ and helm-values/ subdirectories - Move files to parent directory (argocd.yaml, helm-values.yaml) - Update helm valueFiles paths in ArgoCD Applications - Remove CreateNamespace=true from all applications - Namespace creation now handled by namespace.yaml with Goldilocks labels
This commit is contained in:
71
code-server/helm-values.yaml
Normal file
71
code-server/helm-values.yaml
Normal file
@@ -0,0 +1,71 @@
|
||||
fullnameOverride: code-server
|
||||
|
||||
image:
|
||||
repository: codercom/code-server
|
||||
tag: 4.104.2
|
||||
pullPolicy: Always
|
||||
|
||||
# Persistence configuration for workspace data
|
||||
persistence:
|
||||
enabled: true
|
||||
accessMode: ReadWriteOnce
|
||||
size: 5Gi
|
||||
storageClassName: longhorn # Migrated to Longhorn for HA (replica=2)
|
||||
|
||||
# Use existing secret for password
|
||||
existingSecret: code-server-password
|
||||
existingSecretKey: password
|
||||
|
||||
# Ingress configuration (will use main ingress)
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
# Service configuration
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8080
|
||||
|
||||
# Resource limits
|
||||
resources:
|
||||
requests:
|
||||
cpu: 5m # Reduced from 50m based on actual usage (1m)
|
||||
memory: 1Gi # Reduced from 4Gi for worker-node-2 optimization
|
||||
|
||||
# Security context
|
||||
securityContext:
|
||||
enabled: true
|
||||
fsGroup: 1000
|
||||
runAsUser: 1000
|
||||
|
||||
# Volume permissions
|
||||
volumePermissions:
|
||||
enabled: true
|
||||
|
||||
# Extra arguments for code-server
|
||||
extraArgs:
|
||||
- --auth
|
||||
- password
|
||||
|
||||
# Extra environment variables
|
||||
extraVars:
|
||||
- name: TZ
|
||||
value: "Asia/Seoul"
|
||||
- name: PS1
|
||||
value: "coder:\\w~ "
|
||||
|
||||
# Health checks
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 30
|
||||
periodSeconds: 10
|
||||
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8080
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 5
|
||||
Reference in New Issue
Block a user