From 6debe1dff9f0f2325219789a70ed18a348c1a099 Mon Sep 17 00:00:00 2001 From: michaeljguarino Date: Sat, 29 Jun 2024 09:17:15 -0400 Subject: [PATCH] add oauth sidecar configmap --- charts/runtime/Chart.yaml | 2 +- charts/runtime/templates/configmap.yaml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 charts/runtime/templates/configmap.yaml diff --git a/charts/runtime/Chart.yaml b/charts/runtime/Chart.yaml index b35d9cc..16b0d7a 100644 --- a/charts/runtime/Chart.yaml +++ b/charts/runtime/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: runtime description: Sets up the basic dependencies needed to get a network stack running type: application -version: 0.1.22 +version: 0.1.23 appVersion: "0.1.0" dependencies: - name: external-dns diff --git a/charts/runtime/templates/configmap.yaml b/charts/runtime/templates/configmap.yaml new file mode 100644 index 0000000..bd9c084 --- /dev/null +++ b/charts/runtime/templates/configmap.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: plural-operator-oauth-sidecar-config +data: + oauth-sidecar-config.yaml: | + containers: + - name: oauth2-proxy + image: dkr.plural.sh/oauth2-proxy/oauth2-proxy/oauth2-proxy:v7.3.0 + imagePullPolicy: IfNotPresent + resources: + requests: + cpu: 25m + memory: 50Mi + limits: + memory: 50Mi + ports: + - name: oauth-http + containerPort: 4180 + protocol: TCP + - name: oauth-metrics + containerPort: 44180 + protocol: TCP