Skip to content

Commit

Permalink
docs: Fix environment variables names (#11013)
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Lovison <[email protected]>
  • Loading branch information
diegolovison authored Aug 7, 2024
1 parent 6f62203 commit 99bd234
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes_platform/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ from kfp import kubernetes
@dsl.component
def print_secret():
import os
print(os.environ['my-secret'])
print(os.environ['SECRET_VAR'])

@dsl.pipeline
def pipeline():
Expand Down Expand Up @@ -85,7 +85,7 @@ from kfp import kubernetes
@dsl.component
def print_config_map():
import os
print(os.environ['my-cm'])
print(os.environ['CM_VAR'])

@dsl.pipeline
def pipeline():
Expand Down

0 comments on commit 99bd234

Please sign in to comment.