From 6a0dad4f600630cf28ab04ca4a8bb5fd5af8e24f Mon Sep 17 00:00:00 2001 From: Antonio Gamez Diaz Date: Tue, 18 Oct 2022 10:03:40 +0200 Subject: [PATCH] bring dev changes back Signed-off-by: Antonio Gamez Diaz --- chart/kubeapps/Chart.yaml | 2 +- chart/kubeapps/README.md | 17 ++++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/chart/kubeapps/Chart.yaml b/chart/kubeapps/Chart.yaml index 6f5ac22aa39..b956825b072 100644 --- a/chart/kubeapps/Chart.yaml +++ b/chart/kubeapps/Chart.yaml @@ -31,4 +31,4 @@ maintainers: name: kubeapps sources: - https://github.com/vmware-tanzu/kubeapps -version: 11.0.1 +version: 11.0.2-dev0 diff --git a/chart/kubeapps/README.md b/chart/kubeapps/README.md index 6b21a532e3c..cafa45af6df 100644 --- a/chart/kubeapps/README.md +++ b/chart/kubeapps/README.md @@ -1,13 +1,9 @@ - - # Kubeapps packaged by Bitnami Kubeapps is a web-based UI for launching and managing applications on Kubernetes. It allows users to deploy trusted applications and operators to control users access to the cluster. [Overview of Kubeapps](https://github.com/vmware-tanzu/kubeapps) - - ## TL;DR ```bash @@ -558,6 +554,7 @@ Once you have installed Kubeapps follow the [Getting Started Guide](https://gith | `redis.replica.disableCommands` | Array with commands to deactivate on Redis® | `[]` | | `redis.replica.persistence.enabled` | Enable Redis® replica data persistence using PVC | `false` | +Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example, ```bash helm install kubeapps --namespace kubeapps \ @@ -728,6 +725,16 @@ helm install kubeapps my-repo/kubeapps \ --set ingress.annotations."kubernetes\.io/ingress\.class"=nginx # or your preferred ingress controller ``` +If you are using LDAP via Dex with OIDC or you are getting an error message like `upstream sent too big header while reading response header from upstream` it means the cookie size is too big and can't be processed by the Ingress Controller. +You can work around this problem by setting the following Nginx ingress annotations (look for similar annotations in your preferred Ingress Controller): + +```bash + # rest of the helm install ... command + --set ingress.annotations."nginx\.ingress\.kubernetes\.io/proxy-read-timeout"=600 + --set ingress.annotations."nginx\.ingress\.kubernetes\.io/proxy-buffer-size"=8k + --set ingress.annotations."nginx\.ingress\.kubernetes\.io/proxy-buffers"=4 +``` + #### Serving Kubeapps in a subpath You may want to serve Kubeapps with a subpath, for instance `http://example.com/subpath`, you have to set the proper Ingress configuration. If you are using the ingress configuration provided by the Kubeapps chart, you will have to set the `ingress.hostname` and `path` parameters: @@ -1031,4 +1038,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License.