loud-river-79607
03/02/2022, 7:19 PMloud-river-79607
03/02/2022, 7:20 PMloud-river-79607
03/02/2022, 7:21 PMloud-river-79607
03/02/2022, 7:21 PMsparse-intern-71089
03/02/2022, 8:09 PMadorable-gpu-98268
03/02/2022, 8:16 PMenough-animal-75031
03/03/2022, 4:50 AMpulumi up
into different environments, so for example:
• Merge commit into dev
, it does a pulumi up
with the dev
stack
• Changes are working, press a button to use same changes in uat
enough-animal-75031
03/03/2022, 4:50 AMbetter-forest-70644
03/03/2022, 8:43 AMfamous-art-56985
03/03/2022, 12:47 PMconfig.get('gcp:project')
famous-art-56985
03/03/2022, 12:48 PMmy-project:gcp:project
famous-art-56985
03/03/2022, 12:48 PMfamous-art-56985
03/03/2022, 12:49 PMnew gcp.Provider().name
but that has type Output<string | undefined>
I suppose I can call .get()
and freak out if undefined but seems like a real dance to get a config value that is in the yaml fileprehistoric-activity-61023
03/03/2022, 12:52 PMhelpful-account-44059
03/03/2022, 3:31 PMbillowy-army-68599
mammoth-art-6111
03/03/2022, 4:27 PMnot-yet-in-pulumi-but-in-code-resource
stocky-wire-60053
03/03/2022, 5:07 PMquick-airport-30353
03/03/2022, 5:11 PMfamous-art-56985
03/03/2022, 5:16 PMconfig.requireSecret('my-secret')
would create a non-existing secret automatically in the stack config, however if I do this I get a error that the configuration value is missing. Do I need to manually add a secret before using or is there a way to have them generated programattically when missing?mysterious-city-83058
03/03/2022, 5:35 PMmillions-furniture-75402
03/03/2022, 6:19 PMfuture-window-78560
03/03/2022, 7:12 PMnutritious-battery-42762
03/03/2022, 10:27 PMpulumi config set --secret
doesn't work with itwhite-airport-78661
03/04/2022, 3:47 AMvictorious-wall-1075
03/04/2022, 6:08 AM# Deploy the bitnami/wordpress chart.
edgeChart = Release(
"lilac-edge",
ReleaseArgs(
chart="./lilac-edge",
version="0.1.0",
namespace="lilac-edge",
values=values,
timeout=600
),
)
This works as long as ~/.kube/cofig is setup OR set the KUBECONFIG env variable is set.
I will be unable to do either of the above as my code is running inside flask application (actually flask + celery) and the specific cluster is chose based on the input received.
Is there a way to set the kube config location at the per pulumi stack level ?
can we setup ENV variables on a per stack basis?dry-answer-66872
03/04/2022, 6:47 AMrapid-ambulance-88914
03/04/2022, 7:20 AMfamous-art-56985
03/04/2022, 1:15 PMmagnificent-lifeguard-15082
03/04/2022, 5:41 PM