Dmitriy Pavlov
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 228 additions and 123 deletions
-
5k8s/charts/seaweedfs/templates/ca-cert.yaml
-
5k8s/charts/seaweedfs/templates/cert-caissuer.yaml
-
5k8s/charts/seaweedfs/templates/cert-clusterissuer.yaml
-
5k8s/charts/seaweedfs/templates/client-cert.yaml
-
6k8s/charts/seaweedfs/templates/filer-cert.yaml
-
11k8s/charts/seaweedfs/templates/filer-service-client.yaml
-
11k8s/charts/seaweedfs/templates/filer-service.yaml
-
11k8s/charts/seaweedfs/templates/filer-servicemonitor.yaml
-
27k8s/charts/seaweedfs/templates/filer-statefulset.yaml
-
43k8s/charts/seaweedfs/templates/filler-ingress.yaml
-
6k8s/charts/seaweedfs/templates/master-cert.yaml
-
42k8s/charts/seaweedfs/templates/master-ingress.yaml
-
10k8s/charts/seaweedfs/templates/master-service.yaml
-
7k8s/charts/seaweedfs/templates/master-servicemonitor.yaml
-
26k8s/charts/seaweedfs/templates/master-statefulset.yaml
-
24k8s/charts/seaweedfs/templates/s3-deployment.yaml
-
10k8s/charts/seaweedfs/templates/s3-service.yaml
-
7k8s/charts/seaweedfs/templates/s3-servicemonitor.yaml
-
6k8s/charts/seaweedfs/templates/seaweedfs-s3-secret.yaml
-
5k8s/charts/seaweedfs/templates/secret-seaweedfs-db.yaml
-
8k8s/charts/seaweedfs/templates/security-configmap.yaml
-
15k8s/charts/seaweedfs/templates/service-account.yaml
-
6k8s/charts/seaweedfs/templates/volume-cert.yaml
-
10k8s/charts/seaweedfs/templates/volume-service.yaml
-
11k8s/charts/seaweedfs/templates/volume-servicemonitor.yaml
-
26k8s/charts/seaweedfs/templates/volume-statefulset.yaml
-
1k8s/charts/seaweedfs/values.yaml
@ -0,0 +1,42 @@ |
|||||
|
{{- if .Values.master.ingress.enabled }} |
||||
|
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} |
||||
|
apiVersion: networking.k8s.io/v1 |
||||
|
{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion }} |
||||
|
apiVersion: networking.k8s.io/v1beta1 |
||||
|
{{- else }} |
||||
|
apiVersion: extensions/v1beta1 |
||||
|
{{- end }} |
||||
|
kind: Ingress |
||||
|
metadata: |
||||
|
name: ingress-{{ template "seaweedfs.name" . }}-master |
||||
|
namespace: {{ .Release.Namespace }} |
||||
|
annotations: |
||||
|
{{ omit .Values.master.ingress.annotations "kubernetes.io/ingress.class" | toYaml | nindent 4 }} |
||||
|
labels: |
||||
|
app.kubernetes.io/name: {{ template "seaweedfs.name" . }} |
||||
|
helm.sh/chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} |
||||
|
app.kubernetes.io/managed-by: {{ .Release.Service }} |
||||
|
app.kubernetes.io/instance: {{ .Release.Name }} |
||||
|
app.kubernetes.io/component: master |
||||
|
spec: |
||||
|
ingressClassName: {{ .Values.master.ingress.className | quote }} |
||||
|
rules: |
||||
|
- http: |
||||
|
paths: |
||||
|
- path: /sw-master/?(.*) |
||||
|
pathType: ImplementationSpecific |
||||
|
backend: |
||||
|
{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion }} |
||||
|
service: |
||||
|
name: {{ template "seaweedfs.name" . }}-master |
||||
|
port: |
||||
|
number: {{ .Values.master.port }} |
||||
|
#name: |
||||
|
{{- else }} |
||||
|
serviceName: {{ template "seaweedfs.name" . }}-master |
||||
|
servicePort: {{ .Values.master.port }} |
||||
|
{{- end }} |
||||
|
{{- if .Values.filer.ingress.host }} |
||||
|
host: {{ .Values.master.ingress.host }} |
||||
|
{{- end }} |
||||
|
{{- end }} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue