Clean up CI pipeline and remove unused values files
- Use branch name (CI_COMMIT_REF_SLUG) instead of commit SHA for feature IDs - Remove commented-out code and unused deploy template - Fix deploy_stage to use kubectl config use-context - Remove values-production.yaml and values-external.yaml
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
# Values for using external PostgreSQL and S3 storage
|
||||
# Use this when you have existing infrastructure
|
||||
|
||||
replicaCount: 2
|
||||
|
||||
image:
|
||||
pullPolicy: Always
|
||||
|
||||
# Disable subcharts - use external services
|
||||
postgresql:
|
||||
enabled: false
|
||||
|
||||
minio:
|
||||
enabled: false
|
||||
|
||||
redis:
|
||||
enabled: false
|
||||
|
||||
orchard:
|
||||
database:
|
||||
host: "your-postgres-host.example.com"
|
||||
port: 5432
|
||||
user: orchard
|
||||
dbname: orchard
|
||||
sslmode: require
|
||||
# Option 1: Use existing secret
|
||||
existingSecret: "my-postgres-secret"
|
||||
existingSecretPasswordKey: "password"
|
||||
# Option 2: Set password directly (not recommended)
|
||||
# password: "your-password"
|
||||
|
||||
s3:
|
||||
endpoint: "https://s3.amazonaws.com"
|
||||
region: us-east-1
|
||||
bucket: orchard-artifacts
|
||||
usePathStyle: false
|
||||
# Option 1: Use existing secret
|
||||
existingSecret: "my-s3-secret"
|
||||
existingSecretAccessKeyKey: "access-key-id"
|
||||
existingSecretSecretKeyKey: "secret-access-key"
|
||||
# Option 2: Set credentials directly (not recommended)
|
||||
# accessKeyId: "your-access-key"
|
||||
# secretAccessKey: "your-secret-key"
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
hosts:
|
||||
- host: orchard.example.com
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: orchard-tls
|
||||
hosts:
|
||||
- orchard.example.com
|
||||
@@ -1,80 +0,0 @@
|
||||
# Production values for orchard
|
||||
replicaCount: 3
|
||||
|
||||
image:
|
||||
pullPolicy: Always
|
||||
|
||||
resources:
|
||||
limits:
|
||||
cpu: 1000m
|
||||
memory: 1Gi
|
||||
requests:
|
||||
cpu: 250m
|
||||
memory: 256Mi
|
||||
|
||||
autoscaling:
|
||||
enabled: true
|
||||
minReplicas: 3
|
||||
maxReplicas: 20
|
||||
targetCPUUtilizationPercentage: 70
|
||||
targetMemoryUtilizationPercentage: 80
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-prod
|
||||
nginx.ingress.kubernetes.io/proxy-body-size: "500m"
|
||||
hosts:
|
||||
- host: orchard.example.com
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: orchard-tls
|
||||
hosts:
|
||||
- orchard.example.com
|
||||
|
||||
orchard:
|
||||
database:
|
||||
sslmode: require
|
||||
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
password: "" # Set via --set or external secret
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 100Gi
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 1Gi
|
||||
|
||||
minio:
|
||||
enabled: true
|
||||
auth:
|
||||
rootPassword: "" # Set via --set or external secret
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 500Gi
|
||||
resources:
|
||||
limits:
|
||||
cpu: 2000m
|
||||
memory: 4Gi
|
||||
requests:
|
||||
cpu: 500m
|
||||
memory: 1Gi
|
||||
|
||||
redis:
|
||||
enabled: true
|
||||
auth:
|
||||
password: "" # Set via --set or external secret
|
||||
master:
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 10Gi
|
||||
Reference in New Issue
Block a user