From aa39d7ab5c3daeb0ce18646e338bdbbf0ca0c150 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 25 Dec 2023 20:25:19 +0100 Subject: [PATCH] feat(homepage): always enable kubernetes config (#16537) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** This ensures that kubernetes compatibility is always enabled on homepage. **โš™๏ธ Type of change** - [x] โš™๏ธ Feature/App addition - [ ] ๐Ÿช› Bugfix - [ ] โš ๏ธ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] ๐Ÿ”ƒ Refactor of current code **๐Ÿงช How Has This Been Tested?** **๐Ÿ“ƒ Notes:** **โœ”๏ธ Checklist:** - [ ] โš–๏ธ My code follows the style guidelines of this project - [ ] ๐Ÿ‘€ I have performed a self-review of my own code - [ ] #๏ธโƒฃ I have commented my code, particularly in hard-to-understand areas - [ ] ๐Ÿ“„ I have made corresponding changes to the documentation - [ ] โš ๏ธ My changes generate no new warnings - [ ] ๐Ÿงช I have added tests to this description that prove my fix is effective or that my feature works - [ ] โฌ†๏ธ I increased versions for any altered app according to semantic versioning **โž• App addition** If this PR is an app addition please make sure you have done the following. - [ ] ๐Ÿชž I have opened a PR on [truecharts/containers](https://github.com/truecharts/containers) adding the container to TrueCharts mirror repo. - [ ] ๐Ÿ–ผ๏ธ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/stable/homepage/Chart.yaml | 2 +- charts/stable/homepage/values.yaml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/charts/stable/homepage/Chart.yaml b/charts/stable/homepage/Chart.yaml index 5a9fe5c4167..b42cf095758 100644 --- a/charts/stable/homepage/Chart.yaml +++ b/charts/stable/homepage/Chart.yaml @@ -1,7 +1,7 @@ kubeVersion: ">=1.24.0-0" apiVersion: v2 name: homepage -version: 6.0.0 +version: 6.1.0 appVersion: 0.8.3 description: A highly customizable homepage home: https://truecharts.org/charts/stable/homepage diff --git a/charts/stable/homepage/values.yaml b/charts/stable/homepage/values.yaml index d3e6ac5a0da..515c62acee9 100644 --- a/charts/stable/homepage/values.yaml +++ b/charts/stable/homepage/values.yaml @@ -13,6 +13,14 @@ persistence: config: enabled: true mountPath: /app/config + kubernetes-config: + enabled: true + mountPath: /app/config/kubernetes.yaml + subPath: kubernetes.yaml + readOnly: true + type: "configmap" + objectName: kubernetes-config + portal: open: enabled: true @@ -26,6 +34,14 @@ podOptions: options: - name: ndots value: "3" + +configmap: + kubernetes-config: + enabled: true + data: + kubernetes.yaml: | + mode: cluster + rbac: main: enabled: true