Add securityContext items and add pod security labes
This commit is contained in:
@@ -63,5 +63,6 @@ function(params) {
|
||||
allowPrivilegeEscalation: false,
|
||||
readOnlyRootFilesystem: true,
|
||||
capabilities: { drop: ['ALL'] },
|
||||
seccompProfile: { type: 'RuntimeDefault' },
|
||||
},
|
||||
}
|
||||
|
||||
@@ -280,7 +280,9 @@ function(params) {
|
||||
securityContext: {
|
||||
allowPrivilegeEscalation: false,
|
||||
readOnlyRootFilesystem: true,
|
||||
runAsNonRoot: true,
|
||||
capabilities: { drop: ['ALL'] },
|
||||
seccompProfile: { type: 'RuntimeDefault' },
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user