2.7.0
Added
SecurityContext
Adding k8s securityContext support. https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Helpful, when certain app running inside a pod needs additional privileges.
securityContext:
runAsNonRoot: true
runAsUser: 1000
capabilities:
add: ["IPC_LOCK"]ConfigMap
With this version you can attach custom configMap object to helmrelease file
app configmap example
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-conf
namespace: default
data:
nginx.conf: |
worker_processes 1;
daemon off;
error_log nginx_error.log;
events {
worker_connections 1024;
}
http {
server {
listen 8008;
location / {
root /Users/bsergean/src/sandbox/json/jsoncpp;
}
}
}HelmRelease fragment example:
values:
configMap:
name: nginx-conf
mountPath: /etc/nginx.conf