Skip to content

Commit

Permalink
update port names
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewazores committed Nov 21, 2024
1 parent 45c103b commit f6324eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/cryostat/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@

export SVC_NAME=$(kubectl get services -n {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "cryostat.name" . }},app.kubernetes.io/instance={{ .Release.Name }},app.kubernetes.io/component=cryostat" --sort-by=.metadata.creationTimestamp -o jsonpath="{.items[-1:].metadata.name}")
{{- if or .Values.authentication.openshift.enabled .Values.oauth2Proxy.service.tls.selfSigned.enabled }}
kubectl -n {{ .Release.Namespace }} port-forward svc/$SVC_NAME 8443:cryostat-https
kubectl -n {{ .Release.Namespace }} port-forward svc/$SVC_NAME 8443:https
{{- else }}
kubectl -n {{ .Release.Namespace }} port-forward svc/$SVC_NAME 8080:cryostat-http
kubectl -n {{ .Release.Namespace }} port-forward svc/$SVC_NAME 8080:http
{{- end }}
```
{{- $listNum = add1 $listNum }}
Expand Down

0 comments on commit f6324eb

Please sign in to comment.