https://pulumi.com logo
#general
Title
# general
l

little-tailor-59400

10/01/2018, 8:36 PM
c

creamy-potato-29402

10/01/2018, 8:37 PM
No, but this will definitely ship for M18
l

little-tailor-59400

10/01/2018, 8:37 PM
👍
c

creamy-potato-29402

10/01/2018, 8:38 PM
So, a couple days.
l

little-tailor-59400

10/01/2018, 8:38 PM
to confirm, this is why i can't use Pulumi outputs in my helm charts?
i maybe hitting something else
it was literally stuffing this into the chart
Copy code
[16]: {
                                        name : "storage__s3__secretAccessKey"
                                        value: "map[__pulumiOutput:true isKnown:map[]]"
c

creamy-potato-29402

10/01/2018, 8:39 PM
If by “in your helm charts” you mean (for example) “as values”, then yes
oh actually there is a work-around.
l

little-tailor-59400

10/01/2018, 8:39 PM
yes
oh yeah? this is not high priority, but I am curious none the less
c

creamy-potato-29402

10/01/2018, 8:40 PM
actually, maybe… maybe not. I think you could probably do something like
whatever.apply(foo => new k8s.helm.v2.Chart...)
That’s might get what you want.
where
foo
is the value you’d like to put in the
values
l

little-tailor-59400

10/01/2018, 8:41 PM
here is my snippit
Copy code
const iamCreds = new aws.iam.AccessKey("ghost-access-key", {
    user: iamUser.name,
});
and
Copy code
const ghost = new helm.v2.Chart("ghost", {
    repo: "postops",
    chart: "ghost",
    values: {
        ghostUrl: "<https://www.foo.com>",

        database: {
            client: "mysql",
            connection: {
                host: db.endpoint.apply(e => e.split(":")[0]),
                port: db.endpoint.apply(e => e.split(":")[1]),
                user: dbUsername,
                password: dbPassword,
                database: dbName,
            },
        },

        storage: {
            active: "s3",
            s3: {
                secretAccessKey: iamCreds.secret.apply(e => e),
                accessKeyId: iamCreds.id.apply(e => e),
                bucket: bucketName,
                region: "us-west-2",
            },
        },
...
could be bad code on my part ¯\_(ツ)_/¯
c

creamy-potato-29402

10/01/2018, 8:43 PM
so perhaps something like:
Copy code
db.endpoint.apply(e => new helm.v2.Chart("ghost"....)
no no
you’re right.
we are working on it.
l

little-tailor-59400

10/01/2018, 8:44 PM
i'll give it a shot. no worries if not. just been playing with pulumi on my free time
c

creamy-potato-29402

10/01/2018, 8:44 PM
I’ll make a note to ping you when the stuff lands.
l

little-tailor-59400

10/01/2018, 8:44 PM
awesome! thanks
c

creamy-potato-29402

10/01/2018, 8:44 PM
np. lmk of any other feedback you have
l

little-tailor-59400

10/01/2018, 8:46 PM
will do
out of curiousity does pulumi use a graph for destroys?
c

creamy-potato-29402

10/01/2018, 8:46 PM
It does, but it is not parallelized yet.
l

little-tailor-59400

10/01/2018, 8:46 PM
oh i see.
was wondering, as sometimes destroys are slower than expected
c

creamy-potato-29402

10/01/2018, 8:47 PM
we’re working on that too
l

little-tailor-59400

10/01/2018, 8:47 PM
@creamy-potato-29402 is the team distributed?
just curious
c

creamy-potato-29402

10/01/2018, 8:47 PM
it was deemed less high priority than parallel creation
yeah, we are.
As we speak I am writing from the Warm Springs reservation in the middle of nowhere, Oregon. 🙂
l

little-tailor-59400

10/01/2018, 8:48 PM
any folks in Portland?
oh. ha
c

creamy-potato-29402

10/01/2018, 8:48 PM
No but I’m portland-ish.
maybe an hour from portland
l

little-tailor-59400

10/01/2018, 8:48 PM
for sure. just curious if any of yall were in my neck of the woods
c

creamy-potato-29402

10/01/2018, 8:48 PM
was thinking of maybe giving some talks at meetups over there.
l

little-tailor-59400

10/01/2018, 8:49 PM
let me know if you do
or need a place to host said meetup
c

creamy-potato-29402

10/01/2018, 8:49 PM
what are the hot meetups I should target lol
l

little-tailor-59400

10/01/2018, 8:49 PM
well... you have all your language specific meetups that might be a good fit
given the ground pulumi covers
if yall need a space let me know
i work remote from Portland atm, but know a lot of folks willing to host meetups in the area (such as Cloudability)
c

creamy-potato-29402

10/01/2018, 8:50 PM
That would be great!
I’m hoping to hit maybe some local kube or devops meetups personally
(I’m not really sure where the AWS community hangs out? I know there are kube meetups)
Where do you work, if you don’t mind me asking?
l

little-tailor-59400

10/01/2018, 8:52 PM
doordash
out of sf
ex-hashicorper though 😉
c

creamy-potato-29402

10/01/2018, 8:52 PM
ooo that sounds like fun
ha ha we have a few of you rolling around in here
l

little-tailor-59400

10/01/2018, 8:53 PM
think @stocky-spoon-28903 is here i see
s

stocky-spoon-28903

10/02/2018, 2:00 AM
Hi @little-tailor-59400!
l

little-tailor-59400

10/02/2018, 2:40 AM
hi @stocky-spoon-28903