-
Notifications
You must be signed in to change notification settings - Fork 580
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
RKE should allow setting extra_env/etc. on the ingress provider #1104
Comments
This should be under similar keys to the upstream helm chart: https://github.com/helm/charts/tree/master/stable/nginx-ingress Specifically the functionality introduced by: |
The ingress config now accepts three more fields: ExtraEnvs, ExtraVolumes and ExtraVolumeMounts. For example:
This should result in creating 2 env vars in the ingress nginx pod:
And a dir named testmountpath will be created within the pod at |
Tested with rancher version v2.3-head from Nov 11
The cluster got created successfully. In the pod ,
Tested with rke version v1.0.0-rc3:
nginx-ingress-controller pod did not come up successfully. |
@soumyalj |
Tested with rke version v1.0.0-rc3
Cluster came up successfully. rancher/nginx-ingress-controller pod was created successfully on each node. Exec'ed into each of the containers and verified that the volume mount /data exists. env variables were also verifed
|
Currently, it is not possible to set extra_env/extra_binds on the ingress provider. We should allow this functionality, in order to allow users to perform customizations to the nginx ingress controller. This can include things like adding proxies, adding custom file-based certs, etc.
The text was updated successfully, but these errors were encountered: