Skip to content

Commit

Permalink
Change url path to not be on api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ndavidson-hpe committed Oct 25, 2024
1 parent 8f3e4fe commit 7d76c66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions charts/cray-vault/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,18 @@ OTHER DEALINGS IN THE SOFTWARE.
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
name: "cray-vault"
name: "{{ include "cray-vault.name" . }}"
spec:
hosts:
- "*"
- {{ .Values.ingress.host | quote }}
{{- with .Values.ingress.gateways }}
gateways:
{{- toYaml . | nindent 4 }}
{{- end }}
http:
- match:
- uri:
prefix: /apis/vault
rewrite:
uri: ' '
- authority:
exact: {{ .Values.ingress.host | quote }}
route:
- destination:
host: cray-vault
Expand Down
1 change: 1 addition & 0 deletions charts/cray-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ ingress:
gateways:
- "services/services-gateway"
- "services/customer-admin-gateway"
host: vault.local

serviceAccountName: "vault"

Expand Down

0 comments on commit 7d76c66

Please sign in to comment.