Skip to content

Commit

Permalink
remove all things about postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
ddecrulle committed Nov 3, 2022
1 parent 61751eb commit 177a232
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 27 deletions.
2 changes: 1 addition & 1 deletion charts/massive-attack/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: massive-attack
description: A Helm chart for Massive Attack API, UI and DB

type: application
version: 0.1.2
version: 0.1.3
appVersion: "1.16.0"
4 changes: 1 addition & 3 deletions charts/massive-attack/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Massive Attack Helm Chart

Helm chart to deploy Massive Attack UI, Back Office and Postgres database from the chart proposed by Bitami
Helm chart to deploy Massive Attack UI and API from the chart proposed by Bitami

This chart is not fully generic but we tried to be as less specific as possible

Expand All @@ -24,8 +24,6 @@ api:
key: values
```
Environnement values concerning the database such as host, schema, password and username are already pass to postgres. So we decided to pass them to the api throught the environement values in the `api\deployment.yaml`

## LivenessProb and ReadinessProb :
### API :
Expand Down
13 changes: 0 additions & 13 deletions charts/massive-attack/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,6 @@ If release name contains chart name it will be used as a full name.
{{- end }}
{{- end }}

{{- define "massive-attack.postgresql.fullname" -}}
{{- if .Values.postgresql.fullnameOverride -}}
{{- .Values.postgresql.fullnameOverride | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- $name := default "postgresql" .Values.postgresql.nameOverride -}}
{{- if contains $name .Release.Name -}}
{{- .Release.Name | trunc 63 | trimSuffix "-" -}}
{{- else -}}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- end -}}
{{- end -}}

{{/*
Create chart name and version as used by the chart label.
*/}}
Expand Down
10 changes: 0 additions & 10 deletions charts/massive-attack/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,13 +196,3 @@ api:
selector: {}
honorLabels: false
jobLabel: ""

postgresql:
enabled: false
fullnameOverride: ""
nameOverride: ""
auth:
username: username
password: userPassword
postgresPassword: postgresPassword
database: database

0 comments on commit 177a232

Please sign in to comment.