Skip to content

Commit

Permalink
squashme: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Jan 18, 2024
1 parent da0a57a commit 7ff94c1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
9 changes: 5 additions & 4 deletions helm-chart/renku/templates/gateway/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ data:
serviceNames: {{ template "gateway.core.serviceNames" . }}
servicePaths: {{ template "gateway.core.paths" . }}
sticky: true
crc: {{ printf "http://%s-data-service" .Release.Name | quote }}
dataService: {{ printf "http://%s-data-service" .Release.Name | quote }}
keycloak: {{ include "renku.keycloakUrl" . | quote }}
login:
endpointsBasePath: "/api/auth"
defaultAppRedirectURL: {{ include "renku.baseUrl" . | quote }}
Expand All @@ -41,21 +42,21 @@ data:
providers:
renku:
default: true
issuer: {{ printf "%s/realms/%s" (include "renku.keycloakUrl" .) (include renku.keycloak.realm .) }}
issuer: {{ printf "%s/realms/%s" (include "renku.keycloakUrl" .) (include "renku.keycloak.realm" .) }}
clientID: renku
scopes: []
callbackURI: {{ printf "%s/api/auth/callback" (include "renku.baseUrl" .) }}
usePKCE: false
renku-cli:
default: false
issuer: {{ printf "%s/realms/%s" (include "renku.keycloakUrl" .) (include renku.keycloak.realm .) }}
issuer: {{ printf "%s/realms/%s" (include "renku.keycloakUrl" .) (include "renku.keycloak.realm" .) }}
clientID: renku-cli
scopes: []
callbackURI: {{ printf "%s/api/auth/callback" (include "renku.baseUrl" .) }}
usePKCE: false
gitlab:
default: true
issuer: {{ pritnf "%s/oauth" (include "renku.gitlabUrl" .) }}
issuer: {{ printf "%s/oauth" (include "renku.gitlabUrl" .) }}
clientID: {{ .Values.gateway.gitlabClientId | default .Values.global.gateway.gitlabClientId | quote }}
scopes: ["openid", "api", "read_user", "read_repository"]
callbackURI: {{ printf "%s/api/auth/callback" (include "renku.baseUrl" .) }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
name: {{ .Values.global.redis.existingSecret }}
key: {{ .Values.global.redis.existingSecretPasswordKey }}
volumeMounts:
{{- include "certificates.volumeMo- name: config-volume
{{- include "certificates.volumeMounts.system" . | nindent 12 }}
- mountPath: "/etc/gateway"
name: public-config
- mountPath: "/etc/gateway"
Expand Down
8 changes: 4 additions & 4 deletions helm-chart/renku/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,29 +71,29 @@ spec:
port:
number: {{ $gitlabServicePort }}
{{ else }}
name: renku-traefik
name: {{ template "renku.fullname" . }}-gateway
port:
number: 80
{{- end }}
- path: /repos
pathType: Prefix
backend:
service:
name: renku-traefik
name: {{ template "renku.fullname" . }}-gateway
port:
number: 80
- path: /api
pathType: Prefix
backend:
service:
name: renku-traefik
name: {{ template "renku.fullname" . }}-gateway
port:
number: 80
- path: /entities
pathType: Prefix
backend:
service:
name: renku-traefik
name: {{ template "renku.fullname" . }}-gateway
port:
number: 80
- path: /
Expand Down

0 comments on commit 7ff94c1

Please sign in to comment.