From 45953d5531f517c217cc930ccad9057e4fae5e05 Mon Sep 17 00:00:00 2001 From: Philippe Caseiro Date: Wed, 14 Feb 2024 11:06:36 +0100 Subject: [PATCH] fix(hydra): update hydra version to 2.1.2 --- resources/hydra/kustomization.yaml | 46 ++++++++++++++++-------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/resources/hydra/kustomization.yaml b/resources/hydra/kustomization.yaml index 34b8a16..5a96fc6 100644 --- a/resources/hydra/kustomization.yaml +++ b/resources/hydra/kustomization.yaml @@ -1,36 +1,40 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization +images: +- name: reg.cadoles.com/proxy_cache/oryd/hydra + newTag: v2.1.2 + resources: - - ./resources/hydra-deployment.yaml - - ./resources/hydra-service.yaml - - ./resources/hydra-role.yaml - - ./resources/hydra-rolebinding.yaml - - ./resources/hydra-serviceaccount.yaml - - ./resources/hydra-migrate-job.yaml - - ./resources/hydra-maester - - ./resources/hydra-janitor-cronjob.yaml +- ./resources/hydra-deployment.yaml +- ./resources/hydra-service.yaml +- ./resources/hydra-role.yaml +- ./resources/hydra-rolebinding.yaml +- ./resources/hydra-serviceaccount.yaml +- ./resources/hydra-migrate-job.yaml +- ./resources/hydra-maester +- ./resources/hydra-janitor-cronjob.yaml secretGenerator: - - name: hydra-secret - literals: - - SECRETS_SYSTEM=ThisShouldBeAbsolutelyChanged +- name: hydra-secret + literals: + - SECRETS_SYSTEM=ThisShouldBeAbsolutelyChanged configMapGenerator: - - name: hydra-env - literals: - - URLS_SELF_ISSUER=http://localhost:4444 - - URLS_LOGIN=http://hydra-login-app/login - - URLS_CONSENT=http://hydra-consent-app/consent - - URLS_LOGOUT=http://hydra-logout-app/logout - - HYDRA_SERVE_ALL_ARGS=--dev - - LOG_LEVEL=info +- name: hydra-env + literals: + - URLS_SELF_ISSUER=http://localhost:4444 + - URLS_LOGIN=http://hydra-login-app/login + - URLS_CONSENT=http://hydra-consent-app/consent + - URLS_LOGOUT=http://hydra-logout-app/logout + - HYDRA_SERVE_ALL_ARGS=--dev + - LOG_LEVEL=info vars: - name: HYDRA_MIGRATE_JOB_NAME objref: name: hydra-migrate - kind: Job + kind: Job apiVersion: batch/v1 fieldref: - fieldpath: metadata.name \ No newline at end of file + fieldpath: metadata.name