[homer]: update app version, switch to security context (#1726)

This commit is contained in:
Pascal Iske 2022-08-01 21:49:28 +02:00 committed by GitHub
parent 54f03bc19e
commit 526a6c79b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 9 deletions

View File

@ -1,11 +1,11 @@
--- ---
apiVersion: v2 apiVersion: v2
appVersion: 21.09.2 appVersion: v22.07.2
description: A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file. description: A dead simple static HOMepage for your servER to keep your services on hand, from a simple yaml configuration file.
icon: https://raw.githubusercontent.com/bastienwirtz/homer/main/public/logo.png icon: https://raw.githubusercontent.com/bastienwirtz/homer/main/public/logo.png
home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/homer home: https://github.com/k8s-at-home/charts/tree/master/charts/stable/homer
name: homer name: homer
version: 7.3.0 version: 8.0.0
kubeVersion: ">=1.16.0-0" kubeVersion: ">=1.16.0-0"
sources: sources:
- https://github.com/bastienwirtz/homer - https://github.com/bastienwirtz/homer
@ -19,4 +19,9 @@ dependencies:
annotations: annotations:
artifacthub.io/changes: |- artifacthub.io/changes: |-
- kind: changed - kind: changed
description: Upgraded `common` chart dependency to version 4.5.0 description: Switch from env vars to security context object.
- kind: fixed
description: Upgraded app version to v22.07.2
links:
- name: GitHub Issue
url: https://github.com/k8s-at-home/charts/issues/1713

View File

@ -8,8 +8,8 @@
image: image:
# -- image repository # -- image repository
repository: b4bz/homer repository: b4bz/homer
# -- image tag # @default -- chart.appVersion
tag: 21.09.2 tag:
# -- image pull policy # -- image pull policy
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@ -18,10 +18,6 @@ image:
env: env:
# -- Set the container timezone # -- Set the container timezone
TZ: UTC TZ: UTC
# -- Specify the user ID the application will run as
UID: "911"
# -- Specify the group ID the application will run as
GID: "911"
# -- Configures service settings for the chart. # -- Configures service settings for the chart.
# @default -- See values.yaml # @default -- See values.yaml
@ -37,6 +33,14 @@ ingress:
main: main:
enabled: false enabled: false
securityContext:
# -- Specify the user ID the application will run as
runAsUser: 1000
# -- Enable validation that the container must run as non-root user
runAsNonRoot: true
# -- Specify the group ID the application will run as
runAsGroup: 1000
# -- Configure persistence settings for the chart under this key. # -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml # @default -- See values.yaml
persistence: persistence: