Skip to content

Commit

Permalink
Fix validation errors in redirector.yaml (#116)
Browse files Browse the repository at this point in the history
Signed-off-by: John Collier <[email protected]>
  • Loading branch information
johnmcollier authored May 26, 2022
1 parent 192202e commit 23d2eac
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions deploy/hosted-registry/redirector/redirector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ objects:
run: redirector
name: redirector
spec:
serviceAccountName: redirector-service-account
replicas: ${{REPLICAS}}
selector:
matchLabels:
Expand Down Expand Up @@ -57,6 +58,16 @@ objects:
limits:
cpu: 40m
memory: 40Mi
livenessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
readinessProbe:
tcpSocket:
port: 8080
initialDelaySeconds: 3
periodSeconds: 3
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
Expand All @@ -82,6 +93,12 @@ objects:
type: ClusterIP
status:
loadBalancer: {}
- apiVersion: v1
kind: ServiceAccount
metadata:
labels:
run: redirector
name: redirector-service-account
parameters:
- name: IMAGE
value: "quay.io/app-sre/nginx-redirector"
Expand Down

0 comments on commit 23d2eac

Please sign in to comment.