Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion npm/azure-npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ spec:
requests:
cpu: 250m
securityContext:
privileged: true
privileged: false
capabilities:
add:
- NET_ADMIN
readOnlyRootFilesystem: true
env:
- name: HOSTNAME
valueFrom:
Expand All @@ -105,6 +109,8 @@ spec:
mountPath: /etc/protocols
- name: azure-npm-config
mountPath: /etc/azure-npm
- name: tmp
mountPath: /tmp
hostNetwork: true
hostUsers: false
nodeSelector:
Expand All @@ -125,6 +131,8 @@ spec:
- name: azure-npm-config
configMap:
name: azure-npm-config
- name: tmp
emptyDir: {}
serviceAccountName: azure-npm
---
apiVersion: v1
Expand Down