feat(components): moving hydra-maester as componenent #32

Closed
pcaseiro wants to merge 9 commits from maester-as-component into develop
Showing only changes of commit 11522ad92e - Show all commits

View File

@ -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.32"
spec: spec:
replicas: 1 replicas: 1
revisionHistoryLimit: 10 revisionHistoryLimit: 10
@ -25,32 +24,31 @@ spec:
annotations: annotations:
spec: spec:
containers: containers:
- name: hydra-maester - name: hydra-maester
image: reg.cadoles.com/proxy_cache/oryd/hydra-maester:v0.0.25 image: reg.cadoles.com/proxy_cache/oryd/hydra-maester:v0.0.32
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
envFrom: envFrom:
- configMapRef: - configMapRef:
name: hydra-maester-env name: hydra-maester-env
command: command:
- /manager - /manager
args: args:
- --metrics-addr=127.0.0.1:8080 - --metrics-addr=127.0.0.1:8080
- --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: allowPrivilegeEscalation: false
allowPrivilegeEscalation: false capabilities:
capabilities: drop:
drop: - ALL
- ALL privileged: false
privileged: false readOnlyRootFilesystem: true
readOnlyRootFilesystem: true runAsNonRoot: true
runAsNonRoot: true runAsUser: 1000
runAsUser: 1000
serviceAccountName: hydra-maester-account serviceAccountName: hydra-maester-account
automountServiceAccountToken: true automountServiceAccountToken: true
nodeSelector: nodeSelector: