2 # ============LICENSE_START=======================================================
3 # Copyright (C) 2022-2023 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
27 apiVersion: rbac.authorization.k8s.io/v1
28 kind: ClusterRoleBinding
32 apiGroup: rbac.authorization.k8s.io
36 - kind: ServiceAccount
43 name: jwt-proxy-admission-controller-deployment
46 app: jwt-proxy-admission-controller
47 app.kubernetes.io/instance: jwt-proxy-admission-controller
48 app.kubernetes.io/name: jwt-proxy-admission-controller
52 app: jwt-proxy-admission-controller
56 app: jwt-proxy-admission-controller
58 app.kubernetes.io/instance: jwt-proxy-admission-controller
59 app.kubernetes.io/name: jwt-proxy-admission-controller
61 serviceAccountName: webhook-app
63 - name: jwt-proxy-admission-controller
64 image: ktimoney/rapps-webhook
65 imagePullPolicy: IfNotPresent
66 command: ["/app/rapps-webhook"]
69 "-tlsCertFile", "/certs/tls.crt",
70 "-tlsKeyFile", "/certs/tls.key",
71 "-secret", "cm-keycloak-client-certs",
89 secretName: cm-webhook-server-certs
95 name: jwt-proxy-admission-controller
98 app: jwt-proxy-admission-controller
99 app.kubernetes.io/instance: jwt-proxy-admission-controller
100 app.kubernetes.io/name: jwt-proxy-admission-controller
103 app: jwt-proxy-admission-controller