mirror of
https://github.com/typeable/octopod.git
synced 2024-11-23 01:03:45 +03:00
Update ingress to v1
This commit is contained in:
parent
a4bcab7e27
commit
c0f7f62690
@ -2,7 +2,7 @@ apiVersion: v2
|
||||
name: octopod
|
||||
description: An opensource self-hosted solution for managing multiple deployments in a Kubernetes cluster.
|
||||
type: application
|
||||
version: 0.6.9
|
||||
version: 0.6.10
|
||||
appVersion: 1.5.2
|
||||
keywords:
|
||||
- kubernetes
|
||||
|
37
charts/octopod/index.yaml
Normal file
37
charts/octopod/index.yaml
Normal file
@ -0,0 +1,37 @@
|
||||
apiVersion: v1
|
||||
entries:
|
||||
postgresql:
|
||||
- annotations:
|
||||
category: Database
|
||||
apiVersion: v2
|
||||
appVersion: 11.12.0
|
||||
created: "2022-08-23T14:43:53.959078+03:00"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 1.x.x
|
||||
description: Chart for PostgreSQL, an object-relational database management system
|
||||
(ORDBMS) with an emphasis on extensibility and on standards-compliance.
|
||||
digest: afece60469d73b9cc4b578fff9b7627dd6ae609be50a04dabac5ad0be5105f33
|
||||
home: https://github.com/bitnami/charts/tree/master/bitnami/postgresql
|
||||
icon: https://bitnami.com/assets/stacks/postgresql/img/postgresql-stack-220x234.png
|
||||
keywords:
|
||||
- postgresql
|
||||
- postgres
|
||||
- database
|
||||
- sql
|
||||
- replication
|
||||
- cluster
|
||||
maintainers:
|
||||
- email: containers@bitnami.com
|
||||
name: Bitnami
|
||||
- email: cedric@desaintmartin.fr
|
||||
name: desaintmartin
|
||||
name: postgresql
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-postgresql
|
||||
- https://www.postgresql.org/
|
||||
urls:
|
||||
- charts/postgresql-10.5.3.tgz
|
||||
version: 10.5.3
|
||||
generated: "2022-08-23T14:43:53.955624+03:00"
|
@ -1,10 +1,13 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $fullName := include "octopod.fullname" . -}}
|
||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- $kubeVersion := .Capabilities.KubeVersion.Version }}
|
||||
{{ if semverCompare ">= 1.19.0-0" $kubeVersion }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
{{ else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
{{ else }}
|
||||
apiVersion: extensions/v1beta1
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-app
|
||||
@ -42,6 +45,8 @@ spec:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: {{ .Values.service.ports.app }}
|
||||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: {{ .Values.service.ports.app }}
|
||||
{{- end }}
|
||||
|
@ -1,10 +1,13 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $fullName := include "octopod.fullname" . -}}
|
||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- $kubeVersion := .Capabilities.KubeVersion.Version }}
|
||||
{{ if semverCompare ">= 1.19.0-0" $kubeVersion }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
{{ else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
{{ else }}
|
||||
apiVersion: extensions/v1beta1
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-powerapp
|
||||
@ -36,6 +39,8 @@ spec:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: {{ .Values.service.ports.powerApp }}
|
||||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: {{ .Values.service.ports.powerApp }}
|
||||
{{- end }}
|
||||
|
@ -1,10 +1,13 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $fullName := include "octopod.fullname" . -}}
|
||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- $kubeVersion := .Capabilities.KubeVersion.Version }}
|
||||
{{ if semverCompare ">= 1.19.0-0" $kubeVersion }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
{{ else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
{{ else }}
|
||||
apiVersion: extensions/v1beta1
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-ui
|
||||
@ -36,6 +39,8 @@ spec:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: {{ .Values.service.ports.ui }}
|
||||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: {{ .Values.service.ports.ui }}
|
||||
{{- end }}
|
||||
|
@ -1,10 +1,13 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
{{- $fullName := include "octopod.fullname" . -}}
|
||||
{{- if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}}
|
||||
{{- $kubeVersion := .Capabilities.KubeVersion.Version }}
|
||||
{{ if semverCompare ">= 1.19.0-0" $kubeVersion }}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
{{ else if .Capabilities.APIVersions.Has "networking.k8s.io/v1beta1" }}
|
||||
apiVersion: networking.k8s.io/v1beta1
|
||||
{{- else -}}
|
||||
{{ else }}
|
||||
apiVersion: extensions/v1beta1
|
||||
{{- end }}
|
||||
{{ end }}
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ $fullName }}-ws
|
||||
@ -36,6 +39,8 @@ spec:
|
||||
paths:
|
||||
- path: /
|
||||
backend:
|
||||
serviceName: {{ $fullName }}
|
||||
servicePort: {{ .Values.service.ports.ws }}
|
||||
service:
|
||||
name: {{ $fullName }}
|
||||
port:
|
||||
number: {{ .Values.service.ports.ws }}
|
||||
{{- end }}
|
||||
|
Loading…
Reference in New Issue
Block a user