Skip to content
Snippets Groups Projects
Verified Commit 8452a840 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

fix bug in install/generate_secrets.py

parent 5a96413d
No related branches found
No related tags found
No related merge requests found
...@@ -193,7 +193,7 @@ def store_kubernetes_secret(secret_dict, namespace, update=False): ...@@ -193,7 +193,7 @@ def store_kubernetes_secret(secret_dict, namespace, update=False):
def patch_kubernetes_secret(secret_dict, namespace): def patch_kubernetes_secret(secret_dict, namespace):
"""Patches secret in the cluster with new data.""" """Patches secret in the cluster with new data."""
api_client_instance = api_client.ApiClient() api_client_instance = api_client.ApiClient()
api_instance = client.CoreV1Api(apiclient) api_instance = client.CoreV1Api(api_client_instance)
name = secret_dict["metadata"]["name"] name = secret_dict["metadata"]["name"]
body = {} body = {}
body["data"] = secret_dict["data"] body["data"] = secret_dict["data"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment