stocky-lion-56153
07/20/2020, 10:25 AMwooden-branch-26004
07/20/2020, 11:59 AMcli
using --attach-acr <acr_name>
(ex. az aks ... create --attach-acr <acr_name>
) . How can I do the same via Pulumi? I haven't found anything related to it in KubernetesCluster
or KubernetesClusterArgs
.
Thanks!incalculable-engineer-92975
07/20/2020, 2:47 PMvictorious-gigabyte-4729
07/20/2020, 7:31 PMpulumi refresh
before a pulumi up
?gray-jewelry-3360
07/20/2020, 8:07 PMquiet-wolf-18467
dazzling-analyst-17846
07/20/2020, 10:34 PMwooden-branch-26004
07/21/2020, 9:40 AMpulumi up
.
Thanks!acceptable-church-17686
07/21/2020, 9:42 AMcalm-pizza-15027
07/21/2020, 7:11 PMexport const secertKub = new k8s.core.v1.Secret("k8ssecert",{data:{
"key.json": serviceAccountKey.privateKey,
}, metadata:{name:"runtimekey"},apiVersion: "v1", kind:"Secret" },{provider:clusterProvider})
const deployment = new k8s.apps.v1.Deployment(name_c,
{
metadata: {
namespace: namespaceName,
labels: appLabels,
},
spec: {
replicas: 1,
selector: { matchLabels: appLabels },
template: {
metadata: {
labels: appLabels,
},
spec: {
volumes:[{name:"runtimekey",secret: {secretName:secertKub.metadata.name}}],
serviceAccountName:serviceAccountName,
containers: [
{
env:[{name:"GOOGLE_APPLICATION_CREDENTIALS",value:myProject.projectId},{name:"GOOGLE_CLOUD_PROJECT",value:myProject.projectId},{name:"ENVIRONMENT_TYPE",value:"LOCAL_DEVELOPMENT"}],
name: "my-app",
image: dockerCfServices.imageName,
ports: [{ name: "http", containerPort: 8080 }],
volumeMounts:[{
name:"runtimekey",
mountPath: "/var/secrets/google"
}],
},
],
},
},
},
},
{
provider: clusterProvider,
},
);
calm-pizza-15027
07/21/2020, 7:12 PMcool-egg-852
07/21/2020, 9:01 PMOutput
as part of a resource name is starting to become extremely irritating. Are there no plans to make this possible? Using a StackReference, I have an array of resources (in this case GKE clusters). I need to loop over this and create resources for each one. But I can’t use anything from this because I can’t use an Output<string>
as a string
.bright-restaurant-97414
07/21/2020, 9:49 PMmake build
in a Pulumi integration project does it do something weird to your local box.
I was attempting to update a terraform provider in the new relic pulumi project and yarn linked the temp module.
After reverting that and deleting that project I am seeing these weird errors still.
(⎈ |aws-eks-dev:fieldju-dev) /Users/fieldju/dev/armory-io/pulumi-newrelic-infrastructure (master)
$ p up
Previewing update (prod):
Type Name Plan Info
pulumi:pulumi:Stack plumi-newrelic-infrastructure-prod
└─ pulumi:providers:newrelic default_3_0_1 1 error
Diagnostics:
pulumi:providers:newrelic (default_3_0_1):
error: rpc error: code = Unknown desc = could not validate provider configuration: 1 error occurred:
* Internal validation of the provider failed! This is always a bug
with the provider itself, and not a user issue. Please report
this bug:
1 error occurred:
* resource newrelic_nrql_alert_condition: ConflictsWith: critical configuration block reference (term.0) can only be used with TypeList and MaxItems: 1 configuration blocks
but my project still works in CI but somehow I hosed my laptop 🤔
deleting my go path fixed it, the pulumi bin uses go sources on your path?helpful-processor-86468
07/22/2020, 1:02 PMhundreds-musician-51496
07/22/2020, 4:52 PMechoing-breakfast-73834
07/22/2020, 7:56 PMcool-egg-852
07/22/2020, 9:15 PMbitter-dentist-28132
07/22/2020, 10:14 PMbitter-dentist-28132
07/22/2020, 10:15 PMbitter-dentist-28132
07/22/2020, 10:17 PMicy-jordan-58549
07/22/2020, 11:22 PMOutput<string>
, how I can do that? it always gives me this strange output, even if I am using all approaches from here https://www.pulumi.com/docs/intro/concepts/programming-model/#outputs-and-strings (concat, interpolate, apply). Is there a way to do that? My use case, I need to generate xml.config on the fly from Output<string> (storage account) and write to container. Thankssparse-winter-38469
07/22/2020, 11:37 PMdazzling-sundown-39670
07/23/2020, 7:29 AMfamous-kite-69533
07/23/2020, 9:32 AMClient.Timeout or context cancellation while reading body
. I don't have any problems interacting with the cluster via kubectl or other tools though. Any suggestions?fresh-pilot-59899
07/23/2020, 11:24 AMlittle-garage-43399
07/23/2020, 12:41 PMerror: resource 'URN:blabla' registered twice (read and read)
how can I work around it, without passing the "StackReference" result object between the classes? can I check if this resource already exist in the current state? tnxbrave-angle-33257
07/23/2020, 3:25 PMfamous-kite-69533
07/23/2020, 6:40 PMcalm-greece-42329
07/23/2020, 7:10 PMcalm-greece-42329
07/23/2020, 7:10 PM44 Previewing update (XXXXX):
45 [resource plugin kubernetes-2.1.1] installing
46 Downloading plugin: 20.97 MiB / 20.97 MiB 100.00% 0s
47 Moving plugin... done.
.
.
.
82 pulumi:providers:kubernetes default_2_4_0 1 error
83
84 Diagnostics:
85 pulumi:providers:kubernetes (default_2_4_0):
86 error: no resource plugin 'kubernetes-v2.4.0' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource kubernetes v2.4.0`