Closed danail-branekov closed 2 years ago
Eirini LRPs have their environment variables as a plain-text key-value map. This is a bit insecure as anyone having permissions on getting LRPs would be able to see the underlying app environment, which may contain sensitive data.
Therefore, in order to fix this we should change the LRPs Env type to corev1.EnvVar which is the standard k8s way of securely injecting environment into app containers.
Env
corev1.EnvVar
Duplicate of https://github.com/cloudfoundry/cf-k8s-controllers/issues/917, closing
Eirini LRPs have their environment variables as a plain-text key-value map. This is a bit insecure as anyone having permissions on getting LRPs would be able to see the underlying app environment, which may contain sensitive data.
Therefore, in order to fix this we should change the LRPs
Env
type tocorev1.EnvVar
which is the standard k8s way of securely injecting environment into app containers.