Skip to content

Commit 3b07a30

Browse files
diegolovisondroctothorpe
authored andcommitted
docs: Fix environment variables names (kubeflow#11013)
Signed-off-by: Diego Lovison <diegolovison@gmail.com>
1 parent 8eb61b8 commit 3b07a30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kubernetes_platform/python/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ from kfp import kubernetes
3030
@dsl.component
3131
def print_secret():
3232
import os
33-
print(os.environ['my-secret'])
33+
print(os.environ['SECRET_VAR'])
3434

3535
@dsl.pipeline
3636
def pipeline():
@@ -85,7 +85,7 @@ from kfp import kubernetes
8585
@dsl.component
8686
def print_config_map():
8787
import os
88-
print(os.environ['my-cm'])
88+
print(os.environ['CM_VAR'])
8989

9090
@dsl.pipeline
9191
def pipeline():

0 commit comments

Comments
 (0)