feat(components): moving hydra-maester as componenent #32
|
@ -5,7 +5,7 @@ resources:
|
||||||
- ../base
|
- ../base
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- pairs:
|
- pairs:
|
||||||
app.kubernetes.io/part-of: sso-kustom
|
app.kubernetes.io/part-of: sso-kustom
|
||||||
app.kubernetes.io/component: auth
|
app.kubernetes.io/component: auth
|
||||||
|
|
||||||
|
|
|
@ -2,22 +2,22 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ./resources/hydra-deployment.yaml
|
- ./resources/hydra-deployment.yaml
|
||||||
- ./resources/hydra-service.yaml
|
- ./resources/hydra-service.yaml
|
||||||
- ./resources/hydra-role.yaml
|
- ./resources/hydra-role.yaml
|
||||||
- ./resources/hydra-rolebinding.yaml
|
- ./resources/hydra-rolebinding.yaml
|
||||||
- ./resources/hydra-serviceaccount.yaml
|
- ./resources/hydra-serviceaccount.yaml
|
||||||
- ./resources/hydra-migrate-job.yaml
|
- ./resources/hydra-migrate-job.yaml
|
||||||
- ./resources/hydra-maester
|
- ./resources/hydra-janitor-cronjob.yaml
|
||||||
- ./resources/hydra-janitor-cronjob.yaml
|
- ./resources/hydra-maester
|
||||||
|
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: hydra-secret
|
- name: hydra-secret
|
||||||
literals:
|
literals:
|
||||||
- SECRETS_SYSTEM=ThisShouldBeAbsolutelyChanged
|
- SECRETS_SYSTEM=ThisShouldBeAbsolutelyChanged
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: hydra-env
|
- name: hydra-env
|
||||||
literals:
|
literals:
|
||||||
- URLS_SELF_ISSUER=http://localhost:4444
|
- URLS_SELF_ISSUER=http://localhost:4444
|
||||||
- URLS_LOGIN=http://hydra-login-app/login
|
- URLS_LOGIN=http://hydra-login-app/login
|
||||||
|
|
|
@ -2,12 +2,12 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
resources:
|
resources:
|
||||||
- ./resources/hydra-maester-deployment.yaml
|
- ./resources/hydra-maester-deployment.yaml
|
||||||
- ./resources/hydra-maester-rbac.yaml
|
- ./resources/hydra-maester-rbac.yaml
|
||||||
- https://raw.githubusercontent.com/ory/k8s/v0.28.2/helm/charts/hydra-maester/crds/crd-oauth2clients.yaml
|
#- https://raw.githubusercontent.com/ory/k8s/v0.28.2/helm/charts/hydra-maester/crds/crd-oauth2clients.yaml
|
||||||
|
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: hydra-maester-env
|
- name: hydra-maester-env
|
||||||
literals:
|
literals:
|
||||||
- APP_ENV=prod
|
- APP_ENV=prod
|
||||||
- APP_DEBUG=false
|
- APP_DEBUG=false
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
# Source: hydra/charts/hydra-maester/templates/deployment.yaml
|
# Source: hydra/charts/hydra-maester/templates/deployment.yaml
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
|
@ -7,7 +6,7 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: hydra-maester
|
app.kubernetes.io/name: hydra-maester
|
||||||
app.kubernetes.io/instance: hydra-master
|
app.kubernetes.io/instance: hydra-master
|
||||||
app.kubernetes.io/version: "v0.0.23"
|
app.kubernetes.io/version: "v0.0.25"
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
revisionHistoryLimit: 10
|
revisionHistoryLimit: 10
|
||||||
|
@ -38,8 +37,7 @@ spec:
|
||||||
- --hydra-url=$(HYDRA_ADMIN_BASE_URL)
|
- --hydra-url=$(HYDRA_ADMIN_BASE_URL)
|
||||||
- --hydra-port=$(HYDRA_ADMIN_PORT)
|
- --hydra-port=$(HYDRA_ADMIN_PORT)
|
||||||
- --endpoint=/admin/clients
|
- --endpoint=/admin/clients
|
||||||
resources:
|
resources: {}
|
||||||
{}
|
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
securityContext:
|
securityContext:
|
||||||
|
|
Loading…
Reference in New Issue