Skip to content

Commit

Permalink
add 2nd container to k8s config
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaGreben committed Jan 5, 2019
1 parent 3eea0a8 commit 1a768e0
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions deploy/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,9 @@ spec:
spec:
serviceAccountName: fairwinds
containers:
- name: fairwinds
image: quay.io/reactiveops/fairwinds
- name: webhook
image: quay.io/jessgreb/fairwinds
command: ["fairwinds", "--webhook"]
imagePullPolicy: Always
resources:
limits:
Expand All @@ -123,6 +124,24 @@ spec:
mountPath: /opt/app/config.yml
subPath: config.yml
readOnly: true
- name: dashboard
image: quay.io/jessgreb/fairwinds
command: ["fairwinds", "--dashboard"]
imagePullPolicy: Always
ports:
- containerPort: 8080
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
volumeMounts:
- name: fairwinds
mountPath: /opt/app/config.yml
subPath: config.yml
readOnly: true
volumes:
- name: fairwinds
configMap:
Expand Down

0 comments on commit 1a768e0

Please sign in to comment.