Skip to content

Commit

Permalink
Fix environment variables names
Browse files Browse the repository at this point in the history
Signed-off-by: Diego Lovison <[email protected]>
  • Loading branch information
diegolovison committed Jul 16, 2024
1 parent 9cb5913 commit 2254d93
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 2254d93

Please sign in to comment.