Skip to content

Commit

Permalink
fix(manifests): Drop capabilities, add CNCF badge. Fixes #2614 (#4633)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Collins <alex_collins@intuit.com>
  • Loading branch information
alexec committed Dec 3, 2020
1 parent f726b9f commit 30e172d
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ RUN if [ "${IMAGE_OS}" = "linux" ]; then \
# argoexec-base
# Used as the base for both the release and development version of argoexec
####################################################################################################
FROM debian:10.3-slim as argoexec-base
FROM debian:10.6-slim as argoexec-base

ARG IMAGE_OS=linux

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[![slack](https://img.shields.io/badge/slack-argoproj-brightgreen.svg?logo=slack)](https://argoproj.github.io/community/join-slack)
[![CI](https://github.com/argoproj/argo/workflows/CI/badge.svg)](https://github.com/argoproj/argo/actions?query=event%3Apush+branch%3Amaster)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/3830/badge)](https://bestpractices.coreinfrastructure.org/projects/3830)

![Argo Image](docs/assets/argo.png)

Expand Down
4 changes: 4 additions & 0 deletions manifests/base/argo-server/argo-server-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
containers:
- name: argo-server
image: argoproj/argocli:latest
securityContext:
capabilities:
drop:
- ALL
args: [ server ]
ports:
- name: web
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
containers:
- name: workflow-controller
image: argoproj/workflow-controller:latest
securityContext:
capabilities:
drop:
- ALL
command:
- workflow-controller
args:
Expand Down
8 changes: 8 additions & 0 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,10 @@ spec:
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down Expand Up @@ -506,6 +510,10 @@ spec:
- workflow-controller
image: argoproj/workflow-controller:latest
name: workflow-controller
securityContext:
capabilities:
drop:
- ALL
nodeSelector:
kubernetes.io/os: linux
securityContext:
Expand Down
8 changes: 8 additions & 0 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@ spec:
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down Expand Up @@ -401,6 +405,10 @@ spec:
- workflow-controller
image: argoproj/workflow-controller:latest
name: workflow-controller
securityContext:
capabilities:
drop:
- ALL
nodeSelector:
kubernetes.io/os: linux
securityContext:
Expand Down
8 changes: 8 additions & 0 deletions manifests/quick-start-minimal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,10 @@ spec:
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down Expand Up @@ -654,6 +658,10 @@ spec:
- workflow-controller
image: argoproj/workflow-controller:latest
name: workflow-controller
securityContext:
capabilities:
drop:
- ALL
nodeSelector:
kubernetes.io/os: linux
securityContext:
Expand Down
8 changes: 8 additions & 0 deletions manifests/quick-start-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,10 @@ spec:
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down Expand Up @@ -743,6 +747,10 @@ spec:
- workflow-controller
image: argoproj/workflow-controller:latest
name: workflow-controller
securityContext:
capabilities:
drop:
- ALL
nodeSelector:
kubernetes.io/os: linux
securityContext:
Expand Down
8 changes: 8 additions & 0 deletions manifests/quick-start-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,10 @@ spec:
scheme: HTTP
initialDelaySeconds: 10
periodSeconds: 20
securityContext:
capabilities:
drop:
- ALL
volumeMounts:
- mountPath: /tmp
name: tmp
Expand Down Expand Up @@ -735,6 +739,10 @@ spec:
- workflow-controller
image: argoproj/workflow-controller:latest
name: workflow-controller
securityContext:
capabilities:
drop:
- ALL
nodeSelector:
kubernetes.io/os: linux
securityContext:
Expand Down

0 comments on commit 30e172d

Please sign in to comment.