From 192aa540d62b4f25fdb2c0b39af4f1e0fa8f6d92 Mon Sep 17 00:00:00 2001 From: Stavros kois Date: Sat, 11 Mar 2023 13:29:35 +0200 Subject: [PATCH] update naming convention --- library/common/docs/README.md | 6 +++--- library/common/templates/app_functions/_permissions.tpl | 2 +- library/common/templates/app_functions/_postgres.tpl | 2 +- library/common/values.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/library/common/docs/README.md b/library/common/docs/README.md index 6696ae027ce..0b8a0da87f2 100644 --- a/library/common/docs/README.md +++ b/library/common/docs/README.md @@ -242,15 +242,15 @@ image: You can define additional images using the following convention: ```yaml -imageWorker: +workerImage: repository: "" tag: "" pullPolicy: IfNotPresent ``` -There isn't anything special in the above format (`imageSomething`), it's just a convention. +There isn't anything special in the above format (`nameImage`), it's just a convention. It's also a format that some external tools can use for automatic image updates. -For example, `Renovate` +For example, [Renovate](https://docs.renovatebot.com/modules/manager/helm-values/#additional-information) --- diff --git a/library/common/templates/app_functions/_permissions.tpl b/library/common/templates/app_functions/_permissions.tpl index 8cde94e24e6..cf08bbecb96 100644 --- a/library/common/templates/app_functions/_permissions.tpl +++ b/library/common/templates/app_functions/_permissions.tpl @@ -28,7 +28,7 @@ GID: GID to change permissions to {{ $containerName }}: enabled: true type: {{ $type }} - imageSelector: imageBash + imageSelector: bashImage resources: limits: cpu: 1000m diff --git a/library/common/templates/app_functions/_postgres.tpl b/library/common/templates/app_functions/_postgres.tpl index f83103a327e..90fb20caf9e 100644 --- a/library/common/templates/app_functions/_postgres.tpl +++ b/library/common/templates/app_functions/_postgres.tpl @@ -21,7 +21,7 @@ resources (required): Resources for the postgres container {{ $name }}: enabled: true primary: true - imageSelector: imagePostgres + imageSelector: postgresImage securityContext: runAsUser: 999 runAsGroup: 999 diff --git a/library/common/values.yaml b/library/common/values.yaml index ca7c5336db0..b0ad70630c9 100644 --- a/library/common/values.yaml +++ b/library/common/values.yaml @@ -36,12 +36,12 @@ image: tag: "" pullPolicy: IfNotPresent -imageBash: +bashImage: repository: bash tag: "4.4.23" pullPolicy: IfNotPresent -imagePostgres: +postgresImage: repository: postgres tag: "15.2" pullPolicy: IfNotPresent