Skip to content

Commit

Permalink
chore: make values file completely templated
Browse files Browse the repository at this point in the history
  • Loading branch information
chliddle committed Dec 16, 2024
1 parent 79f507f commit 3a332ba
Showing 1 changed file with 42 additions and 40 deletions.
82 changes: 42 additions & 40 deletions charts/namada-indexer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,28 @@ replicaCount: 1
# Common configurations in ConfigMaps
configmaps:
config:
data:
DB_PORT: "5432"
DB_NAME: ""
TENDERMINT_URL: ""
data: {}

# PostgreSQL Operator Configuration
postgresOperator:
install:
enabled: false
enabled: true
enabled: true
teamId: ""
volume:
size: "10Gi"
size: ""
storageClass: ""
numberOfInstances: 1
users: {}
databases: {}
version: "15"
parameters:
max_connections: "100"
shared_buffers: "128MB"
resourcePolicy: "delete"
version: ""
parameters: {}
resourcePolicy: ""

externalPostgres:
enabled: false
host: ""
port: "5432"
port: ""
database: ""
credentialSecret:
name: ""
Expand All @@ -39,26 +34,26 @@ externalPostgres:
# Redis Configuration
redis:
install:
enabled: false
enabled: false
enabled: true
enabled: true
architecture: standalone
sentinel:
enabled: false
masterSet: "mymaster"
masterSet: ""
quorum: 2
replica:
replicaCount: 1
persistence:
enabled: true
size: "8Gi"
enabled: false
size: ""
storageClass: ""
resourcePolicy: "delete"
resourcePolicy: ""
master:
persistence:
enabled: true
size: "8Gi"
enabled: false
size: ""
storageClass: ""
resourcePolicy: "delete"
resourcePolicy: ""
metrics:
enabled: false
serviceMonitor:
Expand All @@ -67,27 +62,26 @@ redis:
externalRedis:
enabled: false
host: ""
port: "6379"
port: ""

# Common container defaults
containerDefaults:
resources:
limits:
cpu: "100m"
memory: "128Mi"
requests:
cpu: "50m"
memory: "64Mi"
limits: {}
requests: {}
envFrom: []

# Init containers configuration
initContainers:
init-db:
image: "postgres:15-alpine"
image: ""
command: []
args: []

# Main containers configuration
containers:
debug:
image: "postgres:15-alpine"
image: ""
command: []
args: []

Expand Down Expand Up @@ -137,13 +131,14 @@ containers:
livenessProbe:
httpGet:
path: /health
port: 5001
port: http
initialDelaySeconds: 15
periodSeconds: 15
timeoutSeconds: 10
failureThreshold: 3
startPeriod: 10

# Global configuration
imagePullSecrets: []
imagePullPolicy: IfNotPresent

Expand All @@ -158,18 +153,25 @@ strategy:
maxUnavailable: 0

serviceAccount:
create: true
create: false
name: ""

# Ingress configuration
ingress:
enabled: false
className: "nginx"
className: ""
annotations: {}
hosts:
- host: chart-example.local
paths:
- path: /
pathType: Prefix
serviceName: webserver
servicePort: 80
hosts: []
tls: []

# Resource quotas and limits
resources: {}

# Node selector
nodeSelector: {}

# Tolerations
tolerations: []

# Affinity
affinity: {}

0 comments on commit 3a332ba

Please sign in to comment.