Skip to content

Commit

Permalink
Fix configmap creation
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Jul 25, 2024
1 parent fd5ed42 commit 9227f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion IM/connectors/Kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _create_config_maps(self, namespace, system, pod_name, auth_data):

# Let's assume that if content is base64 encoded it is a secret
try:
base64.b64decode(content)
base64.b64decode(content, validate=True)
secret = True
except Exception:
secret = False
Expand Down

0 comments on commit 9227f10

Please sign in to comment.