Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
ingress class name cloudshell
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Oct 3, 2022
1 parent a81a0e8 commit 3f8d7b1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion charts/cloudshell/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type: application

# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 4.1.2
version: 4.2.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
1 change: 1 addition & 0 deletions charts/cloudshell/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
annotations:
{{- include "library-chart.ingress.annotations" . | nindent 4 }}
spec:
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- if .Values.ingress.tls }}
tls:
- hosts:
Expand Down
14 changes: 14 additions & 0 deletions charts/cloudshell/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,20 @@
"hidden": true,
"overwriteDefaultWith": "{{project.id}}-{{k8s.randomSubdomain}}.{{k8s.domain}}"
}
},
"ingressClassName": {
"type": "string",
"form": true,
"title": "ingressClassName",
"default": "",
"x-form": {
"hidden": true,
"value": "{{k8s.ingressClassName}}"
},
"x-onyxia": {
"hidden": true,
"overwriteDefaultWith": "{{k8s.ingressClassName}}"
}
}
}
},
Expand Down
6 changes: 1 addition & 5 deletions charts/cloudshell/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ service:
security:
networkPolicy:
enabled: false
from:
- ipBlock:
cidr: 10.233.103.0/32
- ipBlock:
cidr: 10.233.111.0/32
from: []
allowlist:
enabled: true
ip: "0.0.0.0/0"
Expand Down

0 comments on commit 3f8d7b1

Please sign in to comment.