-
Notifications
You must be signed in to change notification settings - Fork 9
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 <david.poltorak@iohk.io> Signed-off-by: davidpoltorak-io <109518299+davidpoltorak-io@users.noreply.github.com>
- Loading branch information
davidpoltorak-io
committed
May 1, 2024
1 parent
ba3c832
commit 4cc7159
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
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