Skip to content

Commit

Permalink
update yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
dku-boanlab committed May 10, 2021
1 parent 0ce9f34 commit 4c20e48
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 40 deletions.
20 changes: 4 additions & 16 deletions deployments/GKE/kubearmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ spec:
imagePullPolicy: Always
securityContext:
privileged: true
args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log"]
# args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log", "-enableHostPolicy"]
args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log", "-enableEnforcerPerPod"]
env:
- name: CLUSTER_NAME
value: "Default" # UPDATE THIS DEPENDING ON YOUR ENVIRONMENT
ports:
- containerPort: 32767
volumeMounts:
Expand Down Expand Up @@ -97,13 +99,6 @@ spec:
fi;
initialDelaySeconds: 60
periodSeconds: 10
# resources:
# limits:
# cpu: "1"
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 200Mi
terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log
terminationGracePeriodSeconds: 30
Expand Down Expand Up @@ -193,13 +188,6 @@ spec:
readOnly: true
- name: var-log-path
mountPath: /var/log
# resources:
# limits:
# cpu: "1"
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 200Mi
terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log
terminationGracePeriodSeconds: 30
Expand Down
11 changes: 3 additions & 8 deletions deployments/generic-containerd/kubearmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ spec:
securityContext:
privileged: true
args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log"]
# args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log", "-enableHostPolicy"]
env:
- name: CLUSTER_NAME
value: "Default" # UPDATE THIS DEPENDING ON YOUR ENVIRONMENT
ports:
- containerPort: 32767
volumeMounts:
Expand Down Expand Up @@ -97,13 +99,6 @@ spec:
fi;
initialDelaySeconds: 60
periodSeconds: 10
# resources:
# limits:
# cpu: "1"
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 200Mi
terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log
terminationGracePeriodSeconds: 30
Expand Down
11 changes: 3 additions & 8 deletions deployments/generic-docker/kubearmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ spec:
securityContext:
privileged: true
args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log"]
# args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log", "-enableHostPolicy"]
env:
- name: CLUSTER_NAME
value: "Default" # UPDATE THIS DEPENDING ON YOUR ENVIRONMENT
ports:
- containerPort: 32767
volumeMounts:
Expand Down Expand Up @@ -97,13 +99,6 @@ spec:
fi;
initialDelaySeconds: 60
periodSeconds: 10
# resources:
# limits:
# cpu: "1"
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 200Mi
terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log
terminationGracePeriodSeconds: 30
Expand Down
11 changes: 3 additions & 8 deletions deployments/microk8s/kubearmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ spec:
securityContext:
privileged: true
args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log"]
# args: ["-gRPC=32767", "-logPath=/tmp/kubearmor.log", "-enableHostPolicy"]
env:
- name: CLUSTER_NAME
value: "Default" # UPDATE THIS DEPENDING ON YOUR ENVIRONMENT
ports:
- containerPort: 32767
volumeMounts:
Expand Down Expand Up @@ -97,13 +99,6 @@ spec:
fi;
initialDelaySeconds: 60
periodSeconds: 10
# resources:
# limits:
# cpu: "1"
# memory: 500Mi
# requests:
# cpu: 100m
# memory: 200Mi
terminationMessagePolicy: File
terminationMessagePath: /dev/termination-log
terminationGracePeriodSeconds: 30
Expand Down

0 comments on commit 4c20e48

Please sign in to comment.