Skip to content
Snippets Groups Projects
Commit e4f571d5 authored by Leah Tacke genannt Unterberg's avatar Leah Tacke genannt Unterberg
Browse files

tinkered with helm chart

parent 77ab4cbb
No related branches found
No related tags found
No related merge requests found
Pipeline #569155 passed
......@@ -49,7 +49,7 @@ spec:
name: {{ tpl .Values.envFromSecret . | quote }}
env:
- name: API_PORT
value: {{ .Values.service.port }}
value: {{ .Values.service.port | quote }}
- name: CORS_ORIGIN
value: {{ tpl .Values.connections.origin . | quote}}
{{- range $key, $value := .Values.apiConfig }}
......
......@@ -19,15 +19,12 @@
apiVersion: v1
kind: Secret
metadata:
name: postgresql-auth-env
name: {{ include "superset-mitm-service.fullname" . }}-postgresql-auth-env
labels:
{{- include "superset-mitm-service.labels" . | nindent 4 }}
namespace: {{ .Release.Namespace }}
type: Opaque
stringData:
MITM_DATABASE_DIALECT: {{.Values.mitmDB.mitm_database_dialect | quote }}
MITM_DATABASE_HOST: {{ tpl .Values.mitmDB.mitm_database_host . | quote }}
MITM_DATABASE_PORT: {{.Values.mitmDB.mitm_database_port | quote }}
MITM_DATABASE_USER: {{.Values.mitmDB.mitm_database_user | quote }}
MITM_DATABASE_PASSWORD: {{.Values.mitmDB.mitm_database_password | quote }}
MITM_DATABASE_DB: {{.Values.mitmDB.mitm_database_db | quote }}
POSTGRES_USER: {{.Values.mitmDB.mitm_database_user | quote }}
POSTGRES_PASSWORD: {{.Values.mitmDB.mitm_database_password | quote }}
POSTGRES_DATABASE: {{.Values.mitmDB.mitm_database_db | quote }}
......@@ -9,7 +9,7 @@ replicaCount: 1
image:
repository: registry.git-ce.rwth-aachen.de/machine-data/superset-mitm-service
# This sets the pull policy for images.
pullPolicy: always
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "latest"
......@@ -74,7 +74,7 @@ resources: { }
startupProbe:
httpGet:
path: /health
port: http
port: 8180
initialDelaySeconds: 5
timeoutSeconds: 1
failureThreshold: 60
......@@ -83,7 +83,7 @@ startupProbe:
livenessProbe:
httpGet:
path: /health
port: http
port: 8180
initialDelaySeconds: 5
timeoutSeconds: 1
failureThreshold: 3
......@@ -92,7 +92,7 @@ livenessProbe:
readinessProbe:
httpGet:
path: /health
port: http
port: 8180
initialDelaySeconds: 5
timeoutSeconds: 1
failureThreshold: 3
......@@ -132,7 +132,7 @@ mitmDB:
mitm_database_dialect: "postgresql"
mitm_database_user: "mitm-pg-user"
mitm_database_password: "superweirdpasswordpleasedonotcrack"
mitm_database_host: "{{ .Release.Name }}-postgresql"
mitm_database_host: "{{ .Release.Name }}-mitm-postgresql"
mitm_database_port: "5432"
mitm_database_db: "mitm-db"
......@@ -148,13 +148,13 @@ global:
allowInsecureImages: true
mitm-postgresql:
image:
registry: docker.io
repository: timescale/timescaledb
tag: latest-pg16
# image:
# registry: docker.io
# repository: timescale/timescaledb
# tag: latest-pg16
auth:
existingSecret: "postgresql-auth-env"
existingSecret: '{{ template "superset-mitm-service.fullname" . }}-postgresql-auth-env'
primary:
##
......@@ -176,6 +176,6 @@ mitm-postgresql:
ports:
postgresql: 5432
initScripts:
timescaledb: |
CREATE EXTENSION IF NOT EXISTS timescaledb;
\ No newline at end of file
# initScripts:
# timescaledb: |
# CREATE EXTENSION IF NOT EXISTS timescaledb;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment