diff --git a/charts/brokencrystals/Chart.yaml b/charts/brokencrystals/Chart.yaml index f957ad8..75f69f8 100644 --- a/charts/brokencrystals/Chart.yaml +++ b/charts/brokencrystals/Chart.yaml @@ -4,7 +4,7 @@ description: | Benchmark application that uses modern technologies and implements a set of common security vulnerabilities type: application -version: 0.0.94 +version: 0.0.99 icon: https://raw.githubusercontent.com/NeuraLegion/brokencrystals/stable/public/public/assets/img/logo.png keywords: - brokencrystals diff --git a/charts/brokencrystals/templates/deployment.yaml b/charts/brokencrystals/templates/deployment.yaml index a6f898f..6245057 100644 --- a/charts/brokencrystals/templates/deployment.yaml +++ b/charts/brokencrystals/templates/deployment.yaml @@ -138,6 +138,8 @@ spec: value: "5432" - name: DATABASE_DEBUG value: "true" + - name: FASTIFY_LOG_LEVEL + value: "info" - name: AWS_BUCKET value: "https://neuralegion-open-bucket.s3.amazonaws.com" - name: GOOGLE_MAPS_API @@ -187,8 +189,10 @@ spec: failureThreshold: 12 periodSeconds: 10 + {{- if .Values.useMailcatcher }} - name: mailcatcher image: sj26/mailcatcher + {{- end }} {{- if and .Values.repeaterID .Values.token .Values.cluster }} - name: repeater diff --git a/charts/brokencrystals/templates/ingress.yaml b/charts/brokencrystals/templates/ingress.yaml index 743762b..3669f0f 100644 --- a/charts/brokencrystals/templates/ingress.yaml +++ b/charts/brokencrystals/templates/ingress.yaml @@ -58,6 +58,7 @@ spec: port: number: 8080 +{{- if .Values.useMailcatcher }} --- apiVersion: networking.k8s.io/v1 kind: Ingress @@ -87,3 +88,4 @@ spec: name: {{ .Release.Name }}-mailcatcher port: number: 1080 +{{- end }} diff --git a/charts/brokencrystals/values.yaml b/charts/brokencrystals/values.yaml index f695332..3e870b6 100644 --- a/charts/brokencrystals/values.yaml +++ b/charts/brokencrystals/values.yaml @@ -4,7 +4,6 @@ ingress: authlevel: "." images: main: stable - client: stable repeaterImageTag: "" repeaterID: "" token: "" @@ -15,3 +14,4 @@ snifferApiKey: "" snifferProjectID: "" snifferNetworkInterface: "" clusterConfigMap: "brokencrystals-config" +useMailcatcher: false