Skip to content

Commit

Permalink
Fix correctly map encriptyon keys to the pods
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorjerse committed Jun 10, 2024
1 parent 2da6811 commit d9ab610
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions resolwe/flow/managers/workload_connectors/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,14 +808,7 @@ def start(self, data: Data, listener_connection: Tuple[str, str, str]):
"securityContext": {"privileged": True},
"volumeMounts": self._init_container_mountpoints(),
"env": container_environment,
"env_from": [
{
"secret_ref": {
"name": secrets_name,
"optional": False,
}
}
],
"envFrom": [{"secretRef": {"name": secrets_name}}],
},
],
"containers": [
Expand Down Expand Up @@ -845,14 +838,7 @@ def start(self, data: Data, listener_connection: Tuple[str, str, str]):
},
"securityContext": security_context,
"env": container_environment,
"env_from": [
{
"secret_ref": {
"name": secrets_name,
"optional": False,
}
}
],
"envFrom": [{"secretRef": {"name": secrets_name}}],
"command": ["/usr/local/bin/python3"],
"args": ["/startup.py"],
"volumeMounts": self._communicator_mountpoints(
Expand Down

0 comments on commit d9ab610

Please sign in to comment.