Skip to content

Instantly share code, notes, and snippets.

@krol3
Last active May 15, 2020 20:28
Show Gist options
  • Save krol3/fa3eadf0d3be112c62920ef6e4e69fc9 to your computer and use it in GitHub Desktop.
Save krol3/fa3eadf0d3be112c62920ef6e4e69fc9 to your computer and use it in GitHub Desktop.
aqua-scanning
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: scanner
name: scanner
spec:
replicas: 1
selector:
matchLabels:
app: scanner
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: scanner
spec:
containers:
- image: registry.aquasec.com/scanner:4.6.20126
args: ["daemon", "--user", "scanning", "--password", "aqua1234", "--host", "http://aqua-web:8080"]
name: scanner
resources: {}
securityContext:
privileged: true
volumeMounts:
- mountPath: /var/run/docker.sock
name: docker-socket-mount
ports:
- containerPort: 8080
volumes:
- name: docker-socket-mount
hostPath:
path: /var/run/docker.sock
status: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment