X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=service-exposure%2Frapps-keycloak-mgr.yaml;h=ffcc7867770f08cb68056b96568207fbb233b99c;hb=3c504be356d2ac9fc5195eb45692e1b756caa9f3;hp=6774746976880611d2a0d3086504086e1745e96d;hpb=b8ae6c467edee10ef39f1b43097fd1ec426e86b7;p=nonrtric.git diff --git a/service-exposure/rapps-keycloak-mgr.yaml b/service-exposure/rapps-keycloak-mgr.yaml index 67747469..ffcc7867 100644 --- a/service-exposure/rapps-keycloak-mgr.yaml +++ b/service-exposure/rapps-keycloak-mgr.yaml @@ -1,6 +1,6 @@ # # ============LICENSE_START======================================================= -# Copyright (C) 2022 Nordix Foundation. +# Copyright (C) 2022-2023 Nordix Foundation. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,6 +24,8 @@ metadata: namespace: default labels: app: rapps-keycloak-mgr + app.kubernetes.io/instance: rapps-keycloak-mgr + app.kubernetes.io/name: rapps-keycloak-mgr spec: selector: matchLabels: @@ -33,6 +35,8 @@ spec: labels: app: rapps-keycloak-mgr version: v1 + app.kubernetes.io/instance: rapps-keycloak-mgr + app.kubernetes.io/name: rapps-keycloak-mgr spec: containers: - name: rapps-keycloak-mgr @@ -53,10 +57,8 @@ spec: readOnly: true volumes: - name: certsdir - hostPath: - # Ensure the file directory is created. - path: /var/rapps/certs - type: DirectoryOrCreate + secret: + secretName: cm-keycloak-client-certs serviceAccountName: helm-app replicas: 1 --- @@ -65,6 +67,10 @@ kind: Service metadata: name: rapps-keycloak-mgr namespace: default + labels: + app: rapps-keycloak-mgr + app.kubernetes.io/instance: rapps-keycloak-mgr + app.kubernetes.io/name: rapps-keycloak-mgr spec: selector: app: rapps-keycloak-mgr