breezy-bear-50708
03/28/2022, 2:11 PMstandard
StorageClass
. Haven't been able to find a good, automated way to do this. import
requires the resource fields match exactly so it's not particularly helpful without lots of manual work. Currently we're using a dynamic provider to patch the resource but it's pretty flaky.sparse-apartment-71989
03/28/2022, 11:45 PMconst dockerSecret = new Secret('docker-hub-credentials',
{
data: {
'username': docker_username, // Base64-encoded value
'password': docker_password // Base64-encoded value
}
},
{
provider: k3sProvider
}
)
In the above example, the secret created is docker-hub-credentials-m4vtegxw. In other, non-Pulumi programs, I have to remember to update the referenced secret name to the full Pulumi-generated name value.
I’d expected to be able to set a name property that would be analogous to setting a name
property on an S3 Bucket to fix the name.billowy-horse-79629
03/29/2022, 9:18 AMadorable-action-51248
04/02/2022, 7:56 AMhelm upgrade
does.chilly-plastic-75584
04/04/2022, 9:23 PMcurved-morning-41391
04/05/2022, 10:14 PMcuddly-football-51817
04/06/2022, 11:35 AMgreat-sunset-355
04/06/2022, 1:32 PMwarning: This resource contains Helm hooks that are not currently supported by Pulumi. The resource will be created, but any hooks will not be executed. Hooks support is tracked at <https://github.com/pulumi/pulumi-kubernetes/issues/555> -- This warning can be disabled by setting the PULUMI_K8S_SUPPRESS_HELM_HOOK_WARNINGS environment variable
kubernetes resource 3.18.0 77 MB n/a 22 minutes ago
most-lighter-95902
04/06/2022, 4:00 PMeks
package and it doesn’t seem to install the latest Kubernetes version?most-lighter-95902
04/06/2022, 4:01 PMeks
package doesn’t seem to find it on new install?most-lighter-95902
04/06/2022, 4:01 PMcrooked-pillow-11944
04/06/2022, 4:08 PMbulky-cat-1703
04/06/2022, 5:45 PMnutritious-petabyte-61303
04/07/2022, 1:18 AMnutritious-petabyte-61303
04/07/2022, 1:19 AMnutritious-petabyte-61303
04/07/2022, 1:19 AMnutritious-petabyte-61303
04/07/2022, 1:20 AMkind-room-82948
04/14/2022, 9:32 PMmost-lighter-95902
04/15/2022, 6:13 AMadamant-action-13876
04/15/2022, 3:43 PMbitter-eve-53295
04/17/2022, 6:23 PMbitter-eve-53295
04/19/2022, 8:01 PMsquare-car-84996
04/20/2022, 1:47 AMred-truck-60031
04/21/2022, 6:27 AMpulumi up
through a hookpurple-appointment-84502
04/22/2022, 12:25 AMversion='v1.22'
. However, my pulumi preview isn't working as it wants to re-create a number of resources including the k8s provider. Is it possible to specify the version
after creating the cluster?bright-horse-50102
04/22/2022, 4:31 AMspec.serviceName
is nginxService.metadata.name
, so the statefulset waits for the service to become ready. The service never becomes ready though, because it's waiting for pods matching it's selector to be created. These pods would be created by the statefulset, but Pulumi is not creating the statefulset until the service is readyfew-pillow-1133
04/22/2022, 11:46 PMproud-pizza-80589
04/25/2022, 12:26 PMproud-pizza-80589
04/25/2022, 12:28 PMpowerful-rain-97767
04/25/2022, 8:38 PMpulumi-kubernetes
and kustomize
(python). I'm getting an error when trying to retrieve a kustomize directory from Github. The Github Repo is private, and SSO is configured. The code works if the repo is public.
Here is my code:
image_tag = "main-xxxxx-xxxxxxx"
crds = k8s.kustomize.Directory(
"some-crds",
directory=f"<https://github.com/some-org/some-repo/tree/{image_tag}/config/crd>"
)
Here is the error:
Exception: invoke of kubernetes:kustomize:directory failed: invocation of kubernetes:kustomize:directory returned an error: failed to retrieve specified kustomize directory: "<https://github.com/some-org/some-repo/tree/main-xxxxx-xxxxxxx/config/crd>": failed to get git ref: authentication required
Wasn't sure if it was strictly necessary, but as part of troubleshooting I installed pulumi-github
, created a new token and made sure to authorize it. I then set the token using the following: pulumi config set github:token XXXXXXXXXXXXXX --secret
I found a github issue, but it's unclear whether using kustomize and targetting a private repo is unsupported, or if there is a bug. Has anybody gotten the above scenario to work?