-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add openshift resources, route condition, and usage note
- Added OpenShift resources to the chart. - Introduced a conditional for the OpenShift route. - Included port in the route values. - Added a note to describe how to retrieve the route URL.
- Loading branch information
Showing
4 changed files
with
43 additions
and
1 deletion.
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
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,21 @@ | ||
{{- if and .Values.openshift .Values.route.enabled -}} | ||
kind: Route | ||
apiVersion: route.openshift.io/v1 | ||
metadata: | ||
name: {{ template "localstack.fullname" . }} | ||
namespace: {{ .Release.Namespace | quote }} | ||
labels: | ||
{{- include "localstack.labels" . | nindent 4 }} | ||
spec: | ||
host: {{ .Values.route.host }} | ||
to: | ||
kind: Service | ||
name: {{ include "localstack.fullname" . }} | ||
weight: 100 | ||
port: | ||
targetPort: {{ .Values.route.port }} | ||
wildcardPolicy: None | ||
tls: | ||
{{- toYaml .Values.route.tls | nindent 4 }} | ||
{{- 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