Skip to content

Commit

Permalink
Merge branch 'experimental' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
rielas committed Jan 22, 2024
2 parents d596d55 + 549f1ef commit 758aa9a
Show file tree
Hide file tree
Showing 15 changed files with 291 additions and 390 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- master
- development
- experimental

jobs:
packages:
Expand Down
2 changes: 1 addition & 1 deletion charts/brokencrystals/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: |
Benchmark application that uses modern technologies and implements a set of
common security vulnerabilities
type: application
version: 0.0.22
version: 0.0.38
keywords:
- brokencrystals
- brkn
4 changes: 2 additions & 2 deletions charts/brokencrystals/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Expand the name of the chart.
*/}}
{{- define "brokencrystals.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 50 | trimSuffix "-" }}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Expand All @@ -27,7 +27,7 @@ If release name contains chart name it will be used as a full name.
Create chart name and version as used by the chart label.
*/}}
{{- define "brokencrystals.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 50 | trimSuffix "-" }}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Expand Down
62 changes: 0 additions & 62 deletions charts/brokencrystals/templates/bc-postgres-deployment.yaml

This file was deleted.

88 changes: 0 additions & 88 deletions charts/brokencrystals/templates/bc-prod-deployment.yaml

This file was deleted.

91 changes: 0 additions & 91 deletions charts/brokencrystals/templates/bc-prod-proxy-deployment.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions charts/brokencrystals/templates/config-keycloak-postgres.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "brokencrystals.fullname" . }}-keycloak-postgres
namespace: {{ .Release.Namespace }}
data:
postgresql.conf.sample: |
listen_addresses = '*'
port = 5433
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,24 @@ data:
}
location /api {
proxy_pass http://{{ include "brokencrystals.fullname" . }}-nodejs:3000;
proxy_pass http://127.0.0.1:3000;
}
location /swagger {
proxy_pass http://{{ include "brokencrystals.fullname" . }}-nodejs:3000;
proxy_pass http://127.0.0.1:3000;
}
location /graphiql {
proxy_pass http://{{ include "brokencrystals.fullname" . }}-nodejs:3000;
proxy_pass http://127.0.0.1:3000;
}
location /graphql {
proxy_pass http://{{ include "brokencrystals.fullname" . }}-nodejs:3000;
proxy_pass http://127.0.0.1:3000;
}
location /put.raw {
rewrite put.raw /api/file/raw?path=./gil.txt break;
proxy_pass http://{{ include "brokencrystals.fullname" . }}-nodejs:3000;
proxy_pass http://127.0.0.1:3000;
}
location ~* ^/(config\.js|config\.json|\.htaccess|\.env|\.nginx\.conf|\.robots\.txt)$ {
Expand Down
Loading

0 comments on commit 758aa9a

Please sign in to comment.