Skip to content

Commit

Permalink
fix: comments to avoid confusion (#9)
Browse files Browse the repository at this point in the history
venkatamutyala authored Mar 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 74dbc80 commit b2d31dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/backup.py
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ def get_tls_secrets():
# Create a Kubernetes API client
v1 = k8s_client.CoreV1Api()

# Get secrets with type kubernetes.io/tls
# Get secrets with label controller.cert-manager.io/fao=true
all_namespaces = v1.list_namespace().items
all_tls_secrets = []

@@ -56,4 +56,4 @@ def upload_secrets_to_s3():
except FileNotFoundError:
logger.error(f"The file {output_file} was not found.")
except Exception as e:
logger.error(f"An error occurred: {str(e)}")
logger.error(f"An error occurred: {str(e)}")

0 comments on commit b2d31dd

Please sign in to comment.