Skip to content

Commit

Permalink
fix token references
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato authored Nov 16, 2023
1 parent 3933ba5 commit b2d5fe1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pipelines/02_submitted_pipeline_via_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
load_dotenv(override=True)

kubeflow_endpoint = "https://ds-pipeline-pipeline-defenition:9000"
bearer_token = os.environ["BEARER_TOKEN"]


def add(a: float, b: float) -> float:
"""Calculate the sum of the two arguments."""
Expand Down Expand Up @@ -61,7 +59,7 @@ def add_pipeline(a="1", b="7"):

client = kfp_tekton.TektonClient(
host=kubeflow_endpoint,
existing_token=bearer_token,
existing_token=token,
ssl_ca_cert=ssl_ca_cert,
)

Expand Down

0 comments on commit b2d5fe1

Please sign in to comment.