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

feat: helm-chart appVersion bump and addtional fixes #67

Merged
6 commits merged into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
enable: true
config:
regex_uri: ["^/(.*)","/$1"]
{{ template "cors" . }}

---

Expand Down
2 changes: 1 addition & 1 deletion infrastructure/charts/mediator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ spec:
- name: MONGODB_DB_NAME
value: "mediator"
- name: SERVICE_ENDPOINT
value: "https://{{ index .Values.ingress.applicationUrls 0 }}/mediator"
value: "https://{{ index .Values.ingress.applicationUrls 0 }}"
20 changes: 20 additions & 0 deletions infrastructure/charts/mediator/templates/stringsecret.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{- if .Values.ingress.enabled }}
{{- $root := . -}}
{{- range $consumer := .Values.ingress.consumers }}
apiVersion: "secretgenerator.mittwald.de/v1alpha1"
kind: StringSecret
metadata:
name: "{{ $root.Release.Namespace }}-{{ $consumer | lower }}"
namespace: {{ $root.Release.Namespace }}
labels:
{{ template "labels.common" . }}
spec:
forceRegenerate: false
data:
username: {{ $consumer | lower }}
fields:
- fieldName: "key"
encoding: "base64"
length: "32"
{{- end }}
{{- end }}
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@
"prepareCmd": "NODE_OPTIONS=--openssl-legacy-provider sbt -mem 2048 -J-Xmx5120m \"release release-version ${nextRelease.version} next-version ${nextRelease.version}-SNAPSHOT with-defaults\""
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "yq -i '.appVersion = \"${nextRelease.version}\"' ./infrastructure/charts/mediator/Chart.yaml"
antonbaliasnikov marked this conversation as resolved.
Show resolved Hide resolved
}
],
[
"@semantic-release/exec",
{
Expand All @@ -63,7 +69,9 @@
"version.sbt",
"CHANGELOG.md",
"package.json",
"package-lock.json"
"package-lock.json",
"infrastructure/charts/mediator/Chart.yaml"

antonbaliasnikov marked this conversation as resolved.
Show resolved Hide resolved
],
"message": "chore(release): cut prism mediator ${nextRelease.version} release\n\n${nextRelease.notes}"
}
Expand Down