<p>What are the differences between config maps and secrets in k8's space, does service accounts need to be associated with these resources to work? Please suggest.</p>

DirectedSoul
<p>ConfigMap and secrets are used to decouple the application  configuration, database passwords, certificates etc from the image.</p>

<p>ConfigMap is used to store config files, properties file and so on. On the other hand secrets are used to store sensitive information like passwords, ssl certificates. </p>

<p>You can load key value pairs from these objects as environment variables inside the container or these objects can be mounted as volumes inside a container..</p>

<p>Service account is a different object and is not directly associated with these objects. Sa is part of RBAC. And can be granted access to list secrets or configMap at namespace level or cluster level depending on the roles</p>
