Skip to content

Commit

Permalink
fix(kratos-selfservice-ui): to correctly configure BASE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
emmenko committed Nov 9, 2023
1 parent e70d228 commit b8a948a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion helm/charts/kratos-selfservice-ui-node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Helm chart for ORY Kratos's example ui for Kubernetes
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| baseUrl | string | `""` | The baseUrl |
| basePath | string | `""` | The basePath |
| deployment | object | `{"annotations":{},"automountServiceAccountToken":false,"dnsConfig":{},"extraEnv":[],"extraVolumeMounts":[],"extraVolumes":[],"labels":{},"nodeSelector":{},"resources":{},"tolerations":[],"topologySpreadConstraints":[]}` | Deployment configuration |
| deployment.dnsConfig | object | `{}` | Configure pod dnsConfig. |
| deployment.extraEnv | list | `[]` | Array of extra envs to be passed to the deployment. Kubernetes format is expected - name: FOO value: BAR |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ spec:
value: {{ .Values.kratosBrowserUrl | quote }}
- name: PROJECT_NAME
value: {{ .Values.projectName | quote }}
- name: BASE_URL
value: {{ .Values.baseUrl | quote }}
- name: BASE_PATH
value: {{ .Values.basePath | quote }}
- name: JWKS_URL
value: {{ .Values.jwksUrl | quote }}
- name: KRATOS_ADMIN_URL
Expand All @@ -74,11 +74,11 @@ spec:
protocol: TCP
livenessProbe:
httpGet:
path: /health/alive
path: {{ .Values.basePath }}/health/alive
port: http
readinessProbe:
httpGet:
path: /health/ready
path: {{ .Values.basePath }}/health/ready
port: http
resources:
{{- toYaml .Values.deployment.resources | nindent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions helm/charts/kratos-selfservice-ui-node/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,8 @@ kratosPublicUrl: "http://kratos-public"
# -- Set this to ORY Kratos's public URL accessible from the outside world.
kratosBrowserUrl: "http://kratos-browserui"

# -- The baseUrl
baseUrl: ""
# -- The basePath
basePath: ""

# -- The jwksUrl
jwksUrl: "http://oathkeeper-api"
Expand Down

0 comments on commit b8a948a

Please sign in to comment.