sparse-article-70164
07/10/2020, 10:28 PMsparse-article-70164
07/10/2020, 10:36 PMlate-battery-85849
07/10/2020, 11:49 PMnumerous-artist-1705
07/12/2020, 6:32 AM7.4 Pulumi hereby grants you a limited, non-exclusive, royalty-free, non-transferable license, with no right to sub-license, to display the Pulumi trademarks and/or logos (“Marks”) for the sole purpose of promoting or advertising that you use the Pulumi Services and solely in accordance with Pulumi’s then current Trademark Usage Guidelines, which may be found at https://www.pulumi.com/trademark. You agree that all goodwill generated through your use of the Pulumi Marks shall inure to the benefit of Pulumi.I think it's safe to assume I can use Pulumi logo in diagram on GitHub for a GPLv2 project using Pulumi. If not so, please let me know.
dazzling-sundown-39670
07/12/2020, 10:29 AMwarning: configured Kubernetes cluster is unreachable: unable to load schema information from the API server: the server has asked for the client to provide credentials
when trying to run pulumi up
.
On DOs website I can read "Certificates expire after 7 days." and locally I can resolve that with doctl kubernetes cluster kubeconfig save use_your_cluster_name
but how can I make pulumi update the certificates?
I tried running pulumi refresh
but that gave me the same error as above.gray-ambulance-59402
07/12/2020, 11:10 AMpublic class ClusterOptions
{
public ClusterOptions() {
var config = new Pulumi.Config("MyNamespace");
Name = config.Require("Name");
VnetName = config.Require("VnetName");
ServicePrincipalId = config.Require("ServicePrincipalId");
ServicePrincipalSecret = config.RequireSecret("ServicePrincipalSecret");
}
private string Name { get; }
private string VnetName { get; }
private string ServicePrincipalId { get; }
private Output<string> ServicePrincipalSecret { get; }
}
Another option seems to be to use an object deserialised from JSON.
var config = new Pulumi.Config();
var clusterConfig = config.RequireObject<ClusterOptions>("ClusterOptions");
Then I just use a nested configuration block in the yaml config file. This uses less code but the only risk here is that there could be empty configuration values so would be initialised as null so I would need to handle this.
MyNamespace:ClusterOptions:
Name: testing
VnetName: test-vnet
ServicePrincipalId: principalID
ServicePrincipalSecret: SuperSecret!
Or maybe I'm looking at this wrong and I should use hard-coded values in the main stack file and use a simple option to use a different stack file per environment? Using component resources allows code re-use so the stacks should be fairly small in code size.
Let me know how you handle this currently!bright-policeman-55860
07/12/2020, 4:43 PMastonishing-branch-30086
07/13/2020, 8:03 AMpulumi up
, pulumi preview
etc.) from one of the languages (Python in my case)? For example, calling something like pulumi.up()
? Just curious!salmon-gold-74709
07/13/2020, 8:38 AMnumerous-artist-1705
07/13/2020, 11:07 AMstocky-lion-56153
07/13/2020, 11:32 AMaloof-laptop-31826
07/13/2020, 1:01 PMaloof-laptop-31826
07/13/2020, 1:01 PMaloof-laptop-31826
07/13/2020, 1:02 PMlimited-solstice-34584
07/13/2020, 3:04 PMlimited-solstice-34584
07/13/2020, 3:04 PMswift-lunch-74411
07/13/2020, 5:48 PMmillions-furniture-75402
07/13/2020, 7:31 PMclever-plumber-29709
07/13/2020, 11:38 PMwhite-angle-34155
07/14/2020, 10:54 AMpulumi new <https://github.com/<redacted>/pulumi-templates/azure-typescript>
with a private repo and getting error: authentication required
. Does anyone know if it's possible to have a private template repo?dazzling-sundown-39670
07/15/2020, 11:11 AMagreeable-ram-97887
07/15/2020, 12:04 PM___main__.py_
attached), or would it be more advisable to break it up into multiple projects. For example, one for the EKS infrastructure, and one for the Kubernetes elements?refined-car-55506
07/15/2020, 2:01 PMlimited-solstice-34584
07/15/2020, 5:37 PMquick-action-34599
07/15/2020, 6:09 PMicy-jordan-58549
07/15/2020, 7:08 PMrefined-teacher-35628
07/16/2020, 11:23 AMCalling [toJSON] on an [Output<T>] is not supported. To get the value of an Output as a JSON value or JSON string consider either: 1: o.apply(v => v.toJSON()) 2: o.apply(v => JSON.stringify(v)) See <https://pulumi.io/help/outputs> for more details. This function may throw in a future version of @pulumi/pulumi.
refined-teacher-35628
07/16/2020, 11:41 AMrefined-teacher-35628
07/16/2020, 12:18 PMModules
feature in Pulumi like Terraform modules? If yes please refer the docs link... thanksbest-notebook-53829
07/16/2020, 3:31 PMnetwork
but id is network-e3d9e66