Skip to content

Commit

Permalink
Adding validations in GCP-2
Browse files Browse the repository at this point in the history
  • Loading branch information
abuabraham-ttd committed Jan 13, 2025
1 parent 970f959 commit 0dc1151
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
42 changes: 0 additions & 42 deletions scripts/gcp-oidc/conf/default-config.json

This file was deleted.

1 change: 1 addition & 0 deletions scripts/gcp-oidc/gcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def _get_secret(self, secret_identifier=None) -> ConfidentialComputeConfig:
except NotFound:
raise ConfigNotFound(self.__class__.__name__, f"Secret Manager {os.getenv("API_TOKEN_SECRET_NAME")}")
config["api_token"] = secret_value
config["skip_validations"] = True
return config

def __populate_operator_config(self, destination):
Expand Down

0 comments on commit 0dc1151

Please sign in to comment.