Compare commits

..

1 Commits

5 changed files with 3 additions and 33 deletions

View File

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

View File

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

View File

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

View File

@@ -55,9 +55,6 @@ spec:
name: hydra-public name: hydra-public
- containerPort: 4445 - containerPort: 4445
name: hydra-admin name: hydra-admin
resources: resources: {}
requests:
cpu: 100m
memory: 128Mi
restartPolicy: Always 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