From 79af14b04a9f258325e9e1a22957f5e7def047d5 Mon Sep 17 00:00:00 2001 From: Guillermo Mejias Date: Tue, 26 Nov 2024 18:30:41 +0100 Subject: [PATCH] pinned versions for prod --- .../004_keycloak-registration-deployment.yaml | 3 +- .../004_keycloak-registration-deployment.yaml | 28 +++++++++++++++++++ kubernetes/dev/kustomization.yaml | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 kubernetes/dev/004_keycloak-registration-deployment.yaml diff --git a/kubernetes/base/004_keycloak-registration-deployment.yaml b/kubernetes/base/004_keycloak-registration-deployment.yaml index d38fff7..4e41be0 100644 --- a/kubernetes/base/004_keycloak-registration-deployment.yaml +++ b/kubernetes/base/004_keycloak-registration-deployment.yaml @@ -29,7 +29,7 @@ spec: spec: containers: - name: keycloak-registration - image: gravitate-registry.cr.de-fra.ionos.com/keycloak-registration:latest + image: gravitate-registry.cr.de-fra.ionos.com/keycloak-registration:v0.5.0 imagePullPolicy: Always envFrom: - configMapRef: @@ -48,5 +48,6 @@ spec: ports: - containerPort: 3000 protocol: TCP + resources: {} restartPolicy: Always status: {} diff --git a/kubernetes/dev/004_keycloak-registration-deployment.yaml b/kubernetes/dev/004_keycloak-registration-deployment.yaml new file mode 100644 index 0000000..ed089e1 --- /dev/null +++ b/kubernetes/dev/004_keycloak-registration-deployment.yaml @@ -0,0 +1,28 @@ +# Copyright 2022 Universidad Politécnica de Madrid +# +# 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. + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: keycloak-registration +spec: + selector: + matchLabels: + app: keycloak-registration + template: + spec: + containers: + - name: keycloak-registration + image: gravitate-registry.cr.de-fra.ionos.com/keycloak-registration:latest + resources: {} diff --git a/kubernetes/dev/kustomization.yaml b/kubernetes/dev/kustomization.yaml index 3e72e5f..173bdc7 100644 --- a/kubernetes/dev/kustomization.yaml +++ b/kubernetes/dev/kustomization.yaml @@ -4,5 +4,6 @@ resources: - ../base patches: +- path: 004_keycloak-registration-deployment.yaml - path: 003_keycloak-registration-config-map.yaml