From 3a332ba3e58bc67d5f9be54027b580c247d84372 Mon Sep 17 00:00:00 2001 From: chliddle Date: Mon, 16 Dec 2024 13:33:19 +0000 Subject: [PATCH] chore: make values file completely templated --- charts/namada-indexer/values.yaml | 82 ++++++++++++++++--------------- 1 file changed, 42 insertions(+), 40 deletions(-) diff --git a/charts/namada-indexer/values.yaml b/charts/namada-indexer/values.yaml index c607d31..9f1cab5 100644 --- a/charts/namada-indexer/values.yaml +++ b/charts/namada-indexer/values.yaml @@ -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: "" @@ -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: @@ -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: [] @@ -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 @@ -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: {}