-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: helm-chart appVersion bump and addtional fixes (#67)
* fix: add string secret for consumers to allow keys to be generated * fix: set service endpoint to applicationUrls without mediator suffix * fix: restore cors configuration to mediation route * ci: add helm-chart appVersion bump to release process * ci: install yq to be used in release process * chore: remove empty line Signed-off-by: David Poltorak <[email protected]> Signed-off-by: davidpoltorak-io <[email protected]> Signed-off-by: mineme0110 <[email protected]>
- Loading branch information
1 parent
640d1d7
commit f8eedd6
Showing
5 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,8 @@ jobs: | |
uses: actions/setup-node@v3 | ||
with: | ||
node-version: "lts/*" | ||
- name: Setup yq - portable yaml processor | ||
uses: mikefarah/[email protected] | ||
- name: Setup Scala.JS | ||
uses: japgolly/setup-scalajs@v1 | ||
- name: Cache sbt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,6 +24,7 @@ spec: | |
enable: true | ||
config: | ||
regex_uri: ["^/(.*)","/$1"] | ||
{{ template "cors" . }} | ||
|
||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
infrastructure/charts/mediator/templates/stringsecret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters