Skip to content

Commit

Permalink
add ingressClassName option (rucio#136)
Browse files Browse the repository at this point in the history
* add ingressClassName option rucio#135

---------

Co-authored-by: Thomas Beermann <[email protected]>
  • Loading branch information
tbeerman and tbeerman authored Feb 24, 2023
1 parent 1fb7c29 commit e2e19cb
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/rucio-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rucio-server
version: 1.30.10
version: 1.30.11
apiVersion: v1
description: A Helm chart to deploy servers for Rucio
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/rucio-server/templates/auth_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.authIngress.ingressClassName }}
ingressClassName: {{ .Values.authIngress.ingressClassName }}
{{ end }}
{{- if .Values.authIngress.tls }}
tls:
{{- range .Values.authIngress.tls }}
Expand Down
3 changes: 3 additions & 0 deletions charts/rucio-server/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{ end }}
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
Expand Down
3 changes: 3 additions & 0 deletions charts/rucio-server/templates/trace_ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.traceIngress.ingressClassName }}
ingressClassName: {{ .Values.traceIngress.ingressClassName }}
{{ end }}
{{- if .Values.traceIngress.tls }}
tls:
{{- range .Values.traceIngress.tls }}
Expand Down
6 changes: 3 additions & 3 deletions charts/rucio-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,8 @@ httpd_config:

ingress:
enabled: false
# ingressClassName: traefik
annotations: {}
# kubernetes.io/ingress.class: traefik
# traefik.ingress.kubernetes.io/frontend-entry-points: http
# traefik.ingress.kubernetes.io/redirect-entry-point: https
path: /
Expand Down Expand Up @@ -283,8 +283,8 @@ ingress:

authIngress:
enabled: false
# ingressClassName: traefik
annotations: {}
# kubernetes.io/ingress.class: traefik
# traefik.ingress.kubernetes.io/frontend-entry-points: http
# traefik.ingress.kubernetes.io/redirect-entry-point: https
path: /auth
Expand Down Expand Up @@ -312,8 +312,8 @@ authIngress:

traceIngress:
enabled: false
# ingressClassName: traefik
annotations: {}
# kubernetes.io/ingress.class: traefik
# traefik.ingress.kubernetes.io/frontend-entry-points: http
# traefik.ingress.kubernetes.io/redirect-entry-point: https
path: /traces
Expand Down
2 changes: 1 addition & 1 deletion charts/rucio-ui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rucio-ui
version: 1.30.0
version: 1.30.1
apiVersion: v1
description: A Helm chart to deploy webui servers for Rucio
keywords:
Expand Down
3 changes: 3 additions & 0 deletions charts/rucio-ui/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{ end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . }}
Expand Down
14 changes: 6 additions & 8 deletions charts/rucio-ui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,14 @@ minReadySeconds: 5

proxy:
rucioProxy: ""
#rucioProxyScheme: "https"
# rucioProxyScheme: "https"
rucioAuthProxy: ""
#rucioAuthProxyScheme: "https"
# rucioAuthProxyScheme: "https"

ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
enabled: false
# ingressClassName: traefik
annotations: {}
path: /
hosts: []
# - my.rucio.test
Expand Down
3 changes: 1 addition & 2 deletions charts/rucio-webui/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: rucio-webui
version: 1.30.0
version: 1.30.1
apiVersion: v1
description: A Helm chart to deploy the new webui (2.0) servers for Rucio
keywords:
Expand All @@ -11,4 +11,3 @@ sources:
maintainers:
- name: Rucio development team
email: [email protected]

3 changes: 3 additions & 0 deletions charts/rucio-webui/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ metadata:
{{ toYaml . | indent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{ end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . }}
Expand Down
8 changes: 4 additions & 4 deletions charts/rucio-webui/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ service:
type: NodePort
# Run the webui server on port 443 instead of 80 and accept X509 certificates
useSSL: true
# nodePort:
# nodePort:

ingress:
enabled: false
# ingressClassName: traefik
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
path: /
Expand Down Expand Up @@ -65,14 +65,14 @@ config:
# max_request_workers: "1280"
# max_connections_per_child: "2048"

## Rucio WebUI specific configuration for apache
## Rucio WebUI specific configuration for apache
httpdWebui:
hostname: kube-playground-7p7333rqr5xx-node-0.cern.ch
# server_admin:
logLevel: 'info'

## Configuration for OIDC providers
oidcProviders: #[]
oidcProviders: # []
- name: "CERN SSO"
clientId: "rucio-webui"
authorizationEndpoint: "https://login.cern.ch/adfs/oauth2/authorize"
Expand Down

0 comments on commit e2e19cb

Please sign in to comment.