-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to specify loadBalancerIp #12
Comments
Hi @chaoyangnz Have you built this provider yourself? It seems there's an ambient version of the provider on your path already if you run the command:
Paul |
@stack72 No, I installed the npm version. pulumi version: v3.34.1 installed plugins:
searched my package-lock.json and node_modules, only one kubernetes-ingress-nginx is installed, and version is 0.0.5 |
Can you test 0.0.6? |
Confirming this issue is still present on 0.0.6 with only one version of kubernetes-ingress-nginx installed. |
Additionally, setting a static string as displayed as a workaround in does not work. I believe the cause of this issue may actually be a typo (I though all properties where generated?) since the actual Helm chart expects the singular |
For others experiencing issues with this package: I noticed more schema errors which may leave you scratching your head. I recommend using Helm.v3.Release directly like below import * as k8s from "@pulumi/kubernetes";
const ns = new k8s.core.v1.Namespace("ingress-nginx", {}, { provider: kubernetes });
const namespace = ns.metadata.name;
const externalIp = new gcp.compute.Address('external-ip', { addressType: 'EXTERNAL' });
const ingressNginxController = new k8s.helm.v3.Release(
"nginx-ingress",
{
chart: "ingress-nginx",
version: "4.2.0",
repositoryOpts: {
repo: "https://kubernetes.github.io/ingress-nginx",
},
values: {
controller: {
publishService: {
enabled: true,
},
service: {
loadBalancerIP: externalIp.address,
},
},
},
namespace,
},
{ provider: kubernetes }
); |
What happened?
Then I got this error:
Steps to reproduce
the above code
Expected Behavior
Should be able to specify the IP address
Actual Behavior
Error when run preview
Versions used
No response
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: