Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experimental #301

Merged
merged 7 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
8 changes: 4 additions & 4 deletions charts/brokencrystals/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v2
name: brokencrystals
name: brokencrystals-exp
description: |
Benchmark application that uses modern technologies and implements a set of
common security vulnerabilities
type: application
version: 0.0.22
version: 0.0.37
keywords:
- brokencrystals
- brkn
- brokencrystals-exp
- brkn-e
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 "-" }}
gornication marked this conversation as resolved.
Show resolved Hide resolved
{{- 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 "-" }}
rielas marked this conversation as resolved.
Show resolved Hide resolved
{{- 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
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
Loading