Remove ingress configuration from OIDC client

The ingress configuration of OIDC client was never used and there are
no valid use cases involving it. The implementation contains the
deprecated Kubernetes API "extensions/v1beta1", but instead of fixing
it, the implementation will be removed.

Test Plan:

PASS: Successfully compile a new OIDC app tarball, upload it to an
AIO-SX environment and test OIDC app functionality.

Closes-Bug: 2060055

Change-Id: I22196dc3434113340c73b5918b7a716785fb6463
Signed-off-by: Joao Victor Portal <Joao.VictorPortal@windriver.com>
This commit is contained in:
Joao Victor Portal 2024-04-01 12:21:19 -03:00
parent defdac3b1a
commit 9c337fe0c9
2 changed files with 1 additions and 55 deletions

View File

@ -1,46 +0,0 @@
{{/*
#
# Copyright (c) 2020 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
*/}}
{{- if .Values.ingress.enabled -}}
{{- $fullName := include "stx-oidc-client.fullname" . -}}
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: {{ $fullName }}
labels:
app.kubernetes.io/name: {{ include "stx-oidc-client.name" . }}
helm.sh/chart: {{ include "stx-oidc-client.chart" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- with .Values.ingress.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- if .Values.ingress.tls }}
tls:
{{- range .Values.ingress.tls }}
- hosts:
{{- range .hosts }}
- {{ . | quote }}
{{- end }}
secretName: {{ .secretName }}
{{- end }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ .host | quote }}
http:
paths:
{{- range .paths }}
- path: {{ . }}
backend:
serviceName: {{ $fullName }}
servicePort: http
{{- end }}
{{- end }}
{{- end }}

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2020-2023 Wind River Systems, Inc.
# Copyright (c) 2020-2024 Wind River Systems, Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
@ -34,14 +34,6 @@ config:
listen: https://0.0.0.0:5555
redirect_uri: https://10.10.10.3:30555/callback
ingress:
enabled: false
annotations: {}
hosts:
- host: chart-example.local
paths: []
tls: []
livenessProbe:
initialDelaySeconds: 1
failureThreshold: 1