Compare commits

..

2 Commits

Author SHA1 Message Date
37211ff6a0 no-crd-in-deploy 2023-12-22 14:18:31 +01:00
86754cf518 cosmetic(oidc-test): rename CM oidc-test to oidc-test-env 2023-12-11 17:33:02 +01:00
6 changed files with 11 additions and 42 deletions

View File

@ -7,7 +7,7 @@ resources:
- ./resources/oauth2-client.yaml
configMapGenerator:
- name: oidc-test
- name: oidc-test-env
literals:
- LOG_LEVEL=0
- HTTP_ADDRESS=0.0.0.0:8080

View File

@ -24,7 +24,7 @@ spec:
resources: {}
envFrom:
- configMapRef:
name: oidc-test
name: oidc-test-env
env:
- name: OIDC_CLIENT_ID
valueFrom:

View File

@ -10,7 +10,6 @@ resources:
- ./resources/hydra-migrate-job.yaml
- ./resources/hydra-maester
- ./resources/hydra-janitor-cronjob.yaml
- ./resources/hydra-hpa.yaml
secretGenerator:
- name: hydra-secret

View File

@ -55,9 +55,6 @@ spec:
name: hydra-public
- containerPort: 4445
name: hydra-admin
resources:
requests:
cpu: 100m
memory: 128Mi
resources: {}
restartPolicy: Always

View File

@ -1,26 +0,0 @@
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: hydra
labels:
io.kompose.service: hydra
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: hydra
minReplicas: 1
maxReplicas: 3
metrics:
- type: Resource
resource:
name: memory
target:
type: Utilization
averageUtilization: 80
- type: Resource
resource:
name: cpu
target:
type: Utilization
averageUtilization: 80

View File

@ -2,12 +2,11 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./resources/hydra-maester-deployment.yaml
- ./resources/hydra-maester-rbac.yaml
- https://raw.githubusercontent.com/ory/k8s/v0.28.2/helm/charts/hydra-maester/crds/crd-oauth2clients.yaml
- ./resources/hydra-maester-deployment.yaml
- ./resources/hydra-maester-rbac.yaml
configMapGenerator:
- name: hydra-maester-env
- name: hydra-maester-env
literals:
- APP_ENV=prod
- APP_DEBUG=false