From 8f4507cdf675462bf624636a08f41a98a05ef3de Mon Sep 17 00:00:00 2001 From: Rob Mills Date: Sun, 16 May 2021 15:38:56 -0500 Subject: [PATCH] Remove the Ingress resource --- README.md | 4 ---- kube-eagle/templates/ingress.yaml | 38 ------------------------------- kube-eagle/values.yaml | 15 +----------- 3 files changed, 1 insertion(+), 56 deletions(-) delete mode 100644 kube-eagle/templates/ingress.yaml diff --git a/README.md b/README.md index 7bfd491..fdab33d 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,6 @@ helm install --name=kube-eagle kube-eagle/kube-eagle | `serviceMonitor.additionalLabels` | Additional labels to add to the ServiceMonitor | | | `metricsNamespace` | Prefix of exposed prometheus metrics | `eagle` | | `logLevel` | Logger's log granularity (debug, info, warn, error, fatal, panic) | `info` | -| `ingress.enabled` | Enables Ingress | `false` | -| `ingress.annotations` | Ingress annotations | `{}` | -| `ingress.hosts` | Ingress accepted hostnames | `[]` | -| `ingress.tls` | Ingress TLS configuration | `[]` | | `podSecurityContext.runAsUser` | UserID to use for the pod | `99` | | `podSecurityContext.runAsUser` | User group to use for the pod | `99` | | `containerSecurityContext` | Security Context for the kube eagle container | `{}` | diff --git a/kube-eagle/templates/ingress.yaml b/kube-eagle/templates/ingress.yaml deleted file mode 100644 index fd021f2..0000000 --- a/kube-eagle/templates/ingress.yaml +++ /dev/null @@ -1,38 +0,0 @@ -{{- if .Values.ingress.enabled -}} -{{- $fullName := include "kube-eagle.fullname" . -}} -{{- $ingressPath := .Values.ingress.path -}} -apiVersion: extensions/v1beta1 -kind: Ingress -metadata: - name: {{ $fullName }} - labels: - app: {{ template "kube-eagle.name" . }} - chart: {{ template "kube-eagle.chart" . }} - release: {{ .Release.Name }} - heritage: {{ .Release.Service }} -{{- with .Values.ingress.annotations }} - annotations: -{{ toYaml . | indent 4 }} -{{- end }} -spec: -{{- if .Values.ingress.tls }} - tls: - {{- range .Values.ingress.tls }} - - hosts: - {{- range .hosts }} - - {{ . }} - {{- end }} - secretName: {{ .secretName }} - {{- end }} -{{- end }} - rules: - {{- range .Values.ingress.hosts }} - - host: {{ . }} - http: - paths: - - path: {{ $ingressPath }} - backend: - serviceName: {{ $fullName }} - servicePort: http - {{- end }} -{{- end }} diff --git a/kube-eagle/values.yaml b/kube-eagle/values.yaml index 5696724..34f5694 100644 --- a/kube-eagle/values.yaml +++ b/kube-eagle/values.yaml @@ -10,19 +10,6 @@ service: type: ClusterIP port: 8080 -ingress: - enabled: false - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - path: / - hosts: - - chart-example.local - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - resources: {} # We usually recommend not to specify default resources and to leave this as a conscious # choice for the user. This also increases chances charts run on environments with little @@ -93,4 +80,4 @@ env: {} # fieldRef: # fieldPath: status.podIP # - name: SERVICE_8000_NAME - # value: metrics-server-exporter \ No newline at end of file + # value: metrics-server-exporter