X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=install%2Fhelm%2Fnrt-base-0%2Fcharts%2Fkeycloak-proxy%2Ftemplates%2Fapp-deployment.yaml;fp=install%2Fhelm%2Fnrt-base-0%2Fcharts%2Fkeycloak-proxy%2Ftemplates%2Fapp-deployment.yaml;h=966566993dfdf8ddf4b2ce671e3d9430a68a0dc7;hb=c5655db5780275b07b25b57b767808f2f1eac7d9;hp=0000000000000000000000000000000000000000;hpb=7c434fcb459c84543cdb0ad14aa59391c60d16d4;p=nonrtric%2Fplt%2Franpm.git diff --git a/install/helm/nrt-base-0/charts/keycloak-proxy/templates/app-deployment.yaml b/install/helm/nrt-base-0/charts/keycloak-proxy/templates/app-deployment.yaml new file mode 100644 index 0000000..9665669 --- /dev/null +++ b/install/helm/nrt-base-0/charts/keycloak-proxy/templates/app-deployment.yaml @@ -0,0 +1,49 @@ +# ============LICENSE_START=============================================== +# Copyright (C) 2023 Nordix Foundation. All rights reserved. +# ======================================================================== +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============LICENSE_END================================================= +# + +# http proxy for keycloak - only for accessing the keycloak api +# cannot be used to access the admin console + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: keycloak-proxy + namespace: nonrtric +spec: + selector: + matchLabels: + app: keycloak-proxy + replicas: 1 + template: + metadata: + labels: + app: keycloak-proxy + spec: + restartPolicy: Always + containers: + - name: keycloak-proxy + image: nginx:alpine + ports: + - containerPort: 8080 + volumeMounts: + - mountPath: /etc/nginx + readOnly: true + name: keycloak-proxy-conf + volumes: + - name: keycloak-proxy-conf + configMap: + name: keycloak-proxy-conf