forked from cs3org/charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set fixed version in all the components, move the sciencemesh/iop ing…
…ress resources to the revad chart & add support for 'networking.k8s.io/v1' (cs3org#22) * wopiserver: generate ingress' resources apiVersion to support v1 - This is based on the '.Capabilities.KubeVersion.GitVersion' * revad: move ingress resources templates from sciencemesh/iop here - Closes cs3org#13 - Add 'maintainers' to revad and fix wopiserver's * revad,wopiserver: rely on '.Capabilities.APIVersions' instead - Fix: use the right scope for the 'apiVersion' in revad ingress - Fix: replace when using v1 service{Name,Port} with the new ingress.spec.rules.http.paths.backend.service spec * wopi{server,bridge}: explicit tagged versions, replace latest - Fix WOPI Server, Bridge version in Chart.yaml - Rename 'revahost' to 'revagateway' in WOPI Server config - Set 'CODIMD_{INT,EXT}_URL' explicit placeholders to prevent WB CrashLoopBackOff * wopibridge: add 'codimd_apikey' to secrets * revad: set tagged revad version explicitly on the Chart * Quote 'artifacthub.io/changes' entries to prevent parsing errors
- Loading branch information
1 parent
8d99f5b
commit 6f47503
Showing
13 changed files
with
154 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{{- if .Values.ingress.enabled }} | ||
{{- range $service, $ingress := .Values.ingress.services }} | ||
apiVersion: {{ template "revad.ingressapiVersion" $ }} | ||
kind: Ingress | ||
metadata: | ||
name: {{ template "revad.fullname" $ }}-{{ $service }} | ||
labels: {{- include "revad.labels" $ | nindent 4 }} | ||
annotations: | ||
{{- if $ingress.annotations }} | ||
{{ toYaml $ingress.annotations | indent 4 }} | ||
{{- end }} | ||
spec: | ||
rules: | ||
{{- if $ingress.hostname }} | ||
- host: {{ $ingress.hostname }} | ||
http: | ||
paths: | ||
- path: {{ $ingress.path }} | ||
backend: | ||
{{- if $.Capabilities.APIVersions.Has "networking.k8s.io/v1" }} | ||
service: | ||
name: {{ template "revad.fullname" $ }} | ||
port: | ||
name: {{ $service }} | ||
pathType: ImplementationSpecific | ||
{{- else }} | ||
serviceName: {{ template "revad.fullname" $ }} | ||
servicePort: {{ $service }} | ||
{{- end }} | ||
{{- end }} | ||
{{- if $ingress.tls }} | ||
tls: | ||
{{ toYaml $ingress.tls | indent 4 }} | ||
{{- end }} | ||
--- | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.