aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/repositoryGenerator
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2022-08-25 12:28:38 +0200
committerAndreas Geissler <andreas-geissler@telekom.de>2023-04-17 12:55:48 +0000
commit784322d219b6b64dde22847fe8dc8fb4fce1f639 (patch)
tree7fb8334bd537fd1464c65f8584e58175b1f8d7c0 /kubernetes/common/repositoryGenerator
parent094f8fdb59ab3b0f8d94b4609a110e44f7521770 (diff)
[PLATFORM] Add OAuth2-Proxy to ONAP
As part of the ServiceMesh solution OAuth2-proxy will be used to enable a central authentication and authorization for ONAP Service Access. This patch delivers the function based on oauth2-proxy helmcharts: https://github.com/oauth2-proxy/manifests/tree/main/helm/oauth2-proxy Issue-ID: OOM-2489 Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: Iafa82813a7b9494cf13d77d47a39fc6030cb919b
Diffstat (limited to 'kubernetes/common/repositoryGenerator')
-rw-r--r--kubernetes/common/repositoryGenerator/templates/_repository.tpl10
-rw-r--r--kubernetes/common/repositoryGenerator/values.yaml1
2 files changed, 11 insertions, 0 deletions
diff --git a/kubernetes/common/repositoryGenerator/templates/_repository.tpl b/kubernetes/common/repositoryGenerator/templates/_repository.tpl
index 1b99285a80..09a799e713 100644
--- a/kubernetes/common/repositoryGenerator/templates/_repository.tpl
+++ b/kubernetes/common/repositoryGenerator/templates/_repository.tpl
@@ -59,6 +59,16 @@
{{- end -}}
{{/*
+ Resolve the name of the quay.io Repository image repository.
+
+ - .Values.global.quayRepository : default image quayRepository for all images using quay repository
+ - .Values.quayRepositoryOverride : override global quayRepository repository on a per chart basis
+*/}}
+{{- define "repositoryGenerator.quayRepository" -}}
+ {{- include "repositoryGenerator._repositoryHelper" (merge (dict "repoName" "quayRepository") .) }}
+{{- end -}}
+
+{{/*
Resolve the name of the googleK8sRepository image repository.
- .Values.global.googleK8sRepository : default image dockerHubRepository for all dockerHub images
diff --git a/kubernetes/common/repositoryGenerator/values.yaml b/kubernetes/common/repositoryGenerator/values.yaml
index 5d886aa7f2..b89c2b2bf6 100644
--- a/kubernetes/common/repositoryGenerator/values.yaml
+++ b/kubernetes/common/repositoryGenerator/values.yaml
@@ -21,6 +21,7 @@ global:
elasticRepository: docker.elastic.co
googleK8sRepository: k8s.gcr.io
githubContainerRegistry: ghcr.io
+ quayRepository: quay.io
# common global images
busyboxImage: busybox:1.34.1