Skip to content

Commit

Permalink
Created secret for constellation messaging, added enabled in ingress …
Browse files Browse the repository at this point in the history
…of constellation messaging, changed default name of constellation messagin secret and changed urlPath input arg of constellation messaging
  • Loading branch information
Alessandro Cattapan committed Jul 30, 2024
1 parent 7e4d2aa commit d87e5af
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
app: {{ $depName }}
spec:
imagePullSecrets:
- name: {{ include "backingservicesRegistrySecret" ( dict "root" .Values "defaultname" "constellation" ) }}
- name: {{ include "backingservicesRegistrySecret" ( dict "root" .Values "defaultname" "constellation-messaging" ) }}
{{ if .Values.docker.imagePullSecretNames }}
{{- range .Values.docker.imagePullSecretNames }}
- name: {{ . }}
Expand All @@ -43,7 +43,7 @@ spec:
args:
- --max-semi-space-size=1024
- port={{ $srvTargetPort }}
- path={{ .Values.urlPath }}
- urlPath={{ .Values.urlPath }}
livenessProbe:
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{{- if .Values.enabled }}
{{- include "messagingRegistryCredentialsSecretTemplate" . }}
{{ end }}
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ service:
# ingressClassName and annotations are optional and will be included if defined.
# Due to the diverse requirements for ingresses and TLS configuration, it may be necessary to define the ingress separately from this chart.
ingress:
enabled: true
domain: YOUR_CUSTOM_DOMAIN_NAME_HERE
ingressClassName:
# Additional annotations for the ingress can be specified here
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
{{- end }}
{{ end }}
containers:
- name: {{ $depName }}
- name: constellation
imagePullPolicy: {{ .Values.docker.constellation.imagePullPolicy }}
image: {{ .Values.docker.constellation.image }}
resources:
Expand Down

0 comments on commit d87e5af

Please sign in to comment.