Last active
May 15, 2020 20:28
-
-
Save krol3/fa3eadf0d3be112c62920ef6e4e69fc9 to your computer and use it in GitHub Desktop.
aqua-scanning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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