mirror of
https://github.com/bjw-s-labs/helm-charts.git
synced 2025-07-03 16:37:04 +02:00
feat: Release common version 1.5.0 (#141)
* feat(common): omit replicas field in Deployment if null is given (#134) * feat(common): Add cron job backoff limit (#137) * feat(common): add hostPID and hostIPC (#140) Signed-off-by: Maurits <75321636+maurits-funda@users.noreply.github.com> Signed-off-by: Gabe Cook <gabe565@gmail.com> Signed-off-by: Angel Nunez Mencias <git@angelnu.com> Co-authored-by: Maurits <75321636+maurits-funda@users.noreply.github.com> Co-authored-by: Gabe Cook <gabe565@gmail.com> Co-authored-by: Angel Nunez Mencias <git@angelnu.com>
This commit is contained in:
parent
9c4c1b1862
commit
8f149f7514
21 changed files with 149 additions and 59 deletions
3
.github/workflows/charts-test.yaml
vendored
3
.github/workflows/charts-test.yaml
vendored
|
@ -29,7 +29,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chart: ${{ fromJSON(inputs.chartsToTest) }}
|
chart: ${{ fromJSON(inputs.chartsToTest) }}
|
||||||
k8s_version: ["v1.22.17", "v1.23.15", "v1.24.9", "v1.25.5"]
|
k8s_version:
|
||||||
|
["v1.22.17", "v1.23.17", "v1.24.13", "v1.25.9", "v1.26.4", "v1.27.1"]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
@ -3,7 +3,7 @@ apiVersion: v2
|
||||||
name: common
|
name: common
|
||||||
description: Function library for Helm charts
|
description: Function library for Helm charts
|
||||||
type: library
|
type: library
|
||||||
version: 1.4.0
|
version: 1.5.0
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
keywords:
|
keywords:
|
||||||
- common
|
- common
|
||||||
|
@ -15,15 +15,14 @@ maintainers:
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: added
|
- kind: added
|
||||||
description: Reload Pod when secrets change
|
description: support for for hostPID
|
||||||
|
- kind: added
|
||||||
|
description: support for for hostPID
|
||||||
|
- kind: added
|
||||||
|
description: Add support for CronJob backoffLimit
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Quoting command and args strings to support multiline arguments
|
description: Omit replicas field in Deployment if null is given
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Updated code-server image tag to v4.11.0
|
description: Updated code-server image tag to v4.12.0
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: Updated gluetun image tag to v3.33.0
|
description: Updated netshoot image tag to v0.10
|
||||||
- kind: fixed
|
|
||||||
description: Integer style image tags now render correctly
|
|
||||||
links:
|
|
||||||
- name: GitHub Issue
|
|
||||||
url: https://github.com/bjw-s/helm-charts/issues/128
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# common
|
# common
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Function library for Helm charts
|
Function library for Helm charts
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Include this chart as a dependency in your `Chart.yaml` e.g.
|
||||||
# Chart.yaml
|
# Chart.yaml
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
version: 1.3.1
|
version: 1.5.0
|
||||||
repository: https://bjw-s.github.io/helm-charts/
|
repository: https://bjw-s.github.io/helm-charts/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ N/A
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| addons | object | See below | The common chart supports several add-ons. These can be configured under this key. |
|
| addons | object | See below | The common chart supports several add-ons. These can be configured under this key. |
|
||||||
| addons.codeserver | object | See values.yaml | The common library supports adding a code-server add-on to access files. It can be configured under this key. For more info, check out [our docs](https://bjw-s.github.io/helm-charts/docs/common-library/common-library-add-ons/##code-server) |
|
| addons.codeserver | object | See values.yaml | The common library supports adding a code-server add-on to access files. It can be configured under this key. |
|
||||||
| addons.codeserver.args | list | `["--auth","none"]` | Set codeserver command line arguments. Consider setting --user-data-dir to a persistent location to preserve code-server setting changes |
|
| addons.codeserver.args | list | `["--auth","none"]` | Set codeserver command line arguments. Consider setting --user-data-dir to a persistent location to preserve code-server setting changes |
|
||||||
| addons.codeserver.enabled | bool | `false` | Enable running a code-server container in the pod |
|
| addons.codeserver.enabled | bool | `false` | Enable running a code-server container in the pod |
|
||||||
| addons.codeserver.env | object | `{}` | Set any environment variables for code-server here |
|
| addons.codeserver.env | object | `{}` | Set any environment variables for code-server here |
|
||||||
|
@ -60,7 +60,7 @@ N/A
|
||||||
| addons.codeserver.git.deployKeySecret | string | `""` | Existing secret containing SSH private key The chart expects it to be present under the `id_rsa` key. |
|
| addons.codeserver.git.deployKeySecret | string | `""` | Existing secret containing SSH private key The chart expects it to be present under the `id_rsa` key. |
|
||||||
| addons.codeserver.image.pullPolicy | string | `"IfNotPresent"` | Specify the code-server image pull policy |
|
| addons.codeserver.image.pullPolicy | string | `"IfNotPresent"` | Specify the code-server image pull policy |
|
||||||
| addons.codeserver.image.repository | string | `"ghcr.io/coder/code-server"` | Specify the code-server image |
|
| addons.codeserver.image.repository | string | `"ghcr.io/coder/code-server"` | Specify the code-server image |
|
||||||
| addons.codeserver.image.tag | string | `"4.9.1"` | Specify the code-server image tag |
|
| addons.codeserver.image.tag | string | `"4.12.0"` | Specify the code-server image tag |
|
||||||
| addons.codeserver.ingress.enabled | bool | `false` | Enable an ingress for the code-server add-on. |
|
| addons.codeserver.ingress.enabled | bool | `false` | Enable an ingress for the code-server add-on. |
|
||||||
| addons.codeserver.ingress.ingressClassName | string | `nil` | Set the ingressClass that is used for this ingress. |
|
| addons.codeserver.ingress.ingressClassName | string | `nil` | Set the ingressClass that is used for this ingress. |
|
||||||
| addons.codeserver.service.enabled | bool | `true` | Enable a service for the code-server add-on. |
|
| addons.codeserver.service.enabled | bool | `true` | Enable a service for the code-server add-on. |
|
||||||
|
@ -71,7 +71,7 @@ N/A
|
||||||
| addons.netshoot.env | object | `{}` | Set any environment variables for netshoot here |
|
| addons.netshoot.env | object | `{}` | Set any environment variables for netshoot here |
|
||||||
| addons.netshoot.image.pullPolicy | string | `"IfNotPresent"` | Specify the netshoot image pull policy |
|
| addons.netshoot.image.pullPolicy | string | `"IfNotPresent"` | Specify the netshoot image pull policy |
|
||||||
| addons.netshoot.image.repository | string | `"ghcr.io/nicolaka/netshoot"` | Specify the netshoot image |
|
| addons.netshoot.image.repository | string | `"ghcr.io/nicolaka/netshoot"` | Specify the netshoot image |
|
||||||
| addons.netshoot.image.tag | string | `"v0.8"` | Specify the netshoot image tag |
|
| addons.netshoot.image.tag | string | `"v0.10"` | Specify the netshoot image tag |
|
||||||
| addons.vpn | object | See values.yaml | The common chart supports adding a VPN add-on. It can be configured under this key. |
|
| addons.vpn | object | See values.yaml | The common chart supports adding a VPN add-on. It can be configured under this key. |
|
||||||
| addons.vpn.args | list | `[]` | Override the args for the vpn sidecar container |
|
| addons.vpn.args | list | `[]` | Override the args for the vpn sidecar container |
|
||||||
| addons.vpn.configFile | string | `nil` | Provide a customized vpn configuration file to be used by the VPN. |
|
| addons.vpn.configFile | string | `nil` | Provide a customized vpn configuration file to be used by the VPN. |
|
||||||
|
@ -81,7 +81,7 @@ N/A
|
||||||
| addons.vpn.gluetun | object | See below | Make sure to read the [documentation](https://github.com/qdm12/gluetun/wiki) to see how to configure this addon! |
|
| addons.vpn.gluetun | object | See below | Make sure to read the [documentation](https://github.com/qdm12/gluetun/wiki) to see how to configure this addon! |
|
||||||
| addons.vpn.gluetun.image.pullPolicy | string | `"IfNotPresent"` | Specify the Gluetun image pull policy |
|
| addons.vpn.gluetun.image.pullPolicy | string | `"IfNotPresent"` | Specify the Gluetun image pull policy |
|
||||||
| addons.vpn.gluetun.image.repository | string | `"docker.io/qmcgaw/gluetun"` | Specify the Gluetun image |
|
| addons.vpn.gluetun.image.repository | string | `"docker.io/qmcgaw/gluetun"` | Specify the Gluetun image |
|
||||||
| addons.vpn.gluetun.image.tag | string | `"v3.32.0"` | Specify the Gluetun image tag |
|
| addons.vpn.gluetun.image.tag | string | `"v3.33.0"` | Specify the Gluetun image tag |
|
||||||
| addons.vpn.livenessProbe | object | `{}` | Optionally specify a livenessProbe, e.g. to check if the connection is still being protected by the VPN |
|
| addons.vpn.livenessProbe | object | `{}` | Optionally specify a livenessProbe, e.g. to check if the connection is still being protected by the VPN |
|
||||||
| addons.vpn.networkPolicy.annotations | object | `{}` | Provide additional annotations which may be required. |
|
| addons.vpn.networkPolicy.annotations | object | `{}` | Provide additional annotations which may be required. |
|
||||||
| addons.vpn.networkPolicy.egress | string | `nil` | The egress configuration for your network policy, All outbound traffic from the pod will be blocked unless specified here. [[ref]](https://kubernetes.io/docs/concepts/services-networking/network-policies/) [[recipes]](https://github.com/ahmetb/kubernetes-network-policy-recipes) |
|
| addons.vpn.networkPolicy.egress | string | `nil` | The egress configuration for your network policy, All outbound traffic from the pod will be blocked unless specified here. [[ref]](https://kubernetes.io/docs/concepts/services-networking/network-policies/) [[recipes]](https://github.com/ahmetb/kubernetes-network-policy-recipes) |
|
||||||
|
@ -102,7 +102,8 @@ N/A
|
||||||
| configMaps.config.labels | object | `{}` | Labels to add to the configMap |
|
| configMaps.config.labels | object | `{}` | Labels to add to the configMap |
|
||||||
| controller.annotations | object | `{}` | Set annotations on the deployment/statefulset/daemonset/cronjob |
|
| controller.annotations | object | `{}` | Set annotations on the deployment/statefulset/daemonset/cronjob |
|
||||||
| controller.cronjob | object | See below | CronJob configuration. Required only when using `controller.type: cronjob`. |
|
| controller.cronjob | object | See below | CronJob configuration. Required only when using `controller.type: cronjob`. |
|
||||||
| controller.cronjob.concurrencyPolicy | string | `"Forbid"` | Specifies how to treat concurrent executions of a job that is created by this cron job, valid values are Allow, Forbid or Replace |
|
| controller.cronjob.backoffLimit | int | `6` | Limits the number of times a failed job will be retried |
|
||||||
|
| controller.cronjob.concurrencyPolicy | string | `"Forbid"` | Specifies how to treat concurrent executions of a job that is created by this cron job valid values are Allow, Forbid or Replace |
|
||||||
| controller.cronjob.failedJobsHistory | int | `1` | The number of failed Jobs to keep |
|
| controller.cronjob.failedJobsHistory | int | `1` | The number of failed Jobs to keep |
|
||||||
| controller.cronjob.schedule | string | `"*/20 * * * *"` | Sets the CronJob time when to execute your jobs |
|
| controller.cronjob.schedule | string | `"*/20 * * * *"` | Sets the CronJob time when to execute your jobs |
|
||||||
| controller.cronjob.startingDeadlineSeconds | int | `30` | The deadline in seconds for starting the job if it misses its scheduled time for any reason |
|
| controller.cronjob.startingDeadlineSeconds | int | `30` | The deadline in seconds for starting the job if it misses its scheduled time for any reason |
|
||||||
|
@ -111,7 +112,7 @@ N/A
|
||||||
| controller.enabled | bool | `true` | enable the controller. |
|
| controller.enabled | bool | `true` | enable the controller. |
|
||||||
| controller.labels | object | `{}` | Set labels on the deployment/statefulset/daemonset/cronjob |
|
| controller.labels | object | `{}` | Set labels on the deployment/statefulset/daemonset/cronjob |
|
||||||
| controller.podManagementPolicy | string | `nil` | Set statefulset podManagementPolicy, valid values are Parallel and OrderedReady (default). |
|
| controller.podManagementPolicy | string | `nil` | Set statefulset podManagementPolicy, valid values are Parallel and OrderedReady (default). |
|
||||||
| controller.replicas | int | `1` | Number of desired pods |
|
| controller.replicas | int | `1` | Number of desired pods. When using a HorizontalPodAutoscaler, set this to `null`. |
|
||||||
| controller.restartPolicy | string | `Always`. When `controller.type` is `cronjob` it defaults to `Never`. | Set Container restart policy. |
|
| controller.restartPolicy | string | `Always`. When `controller.type` is `cronjob` it defaults to `Never`. | Set Container restart policy. |
|
||||||
| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit |
|
| controller.revisionHistoryLimit | int | `3` | ReplicaSet revision history limit |
|
||||||
| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition |
|
| controller.rollingUpdate.partition | string | `nil` | Set statefulset RollingUpdate partition |
|
||||||
|
@ -119,7 +120,7 @@ N/A
|
||||||
| controller.rollingUpdate.unavailable | string | `nil` | Set deployment RollingUpdate max unavailable |
|
| controller.rollingUpdate.unavailable | string | `nil` | Set deployment RollingUpdate max unavailable |
|
||||||
| controller.strategy | string | `nil` | Set the controller upgrade strategy For Deployments, valid values are Recreate (default) and RollingUpdate. For StatefulSets, valid values are OnDelete and RollingUpdate (default). DaemonSets/CronJobs ignore this. |
|
| controller.strategy | string | `nil` | Set the controller upgrade strategy For Deployments, valid values are Recreate (default) and RollingUpdate. For StatefulSets, valid values are OnDelete and RollingUpdate (default). DaemonSets/CronJobs ignore this. |
|
||||||
| controller.type | string | `"deployment"` | Set the controller type. Valid options are deployment, daemonset, statefulset or cronjob |
|
| controller.type | string | `"deployment"` | Set the controller type. Valid options are deployment, daemonset, statefulset or cronjob |
|
||||||
| dnsConfig | object | `{}` | Optional DNS settings, configuring the ndots option may resolve nslookup issues on some Kubernetes setups. |
|
| dnsConfig | object | `{}` | Configuring the ndots option may resolve nslookup issues on some Kubernetes setups. |
|
||||||
| dnsPolicy | string | `nil` | Defaults to "ClusterFirst" if hostNetwork is false and "ClusterFirstWithHostNet" if hostNetwork is true. |
|
| dnsPolicy | string | `nil` | Defaults to "ClusterFirst" if hostNetwork is false and "ClusterFirstWithHostNet" if hostNetwork is true. |
|
||||||
| enableServiceLinks | bool | `true` | Enable/disable the generation of environment variables for services. [[ref]](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service) |
|
| enableServiceLinks | bool | `true` | Enable/disable the generation of environment variables for services. [[ref]](https://kubernetes.io/docs/concepts/services-networking/connect-applications-service/#accessing-the-service) |
|
||||||
| env | string | `nil` | Main environment variables. Template enabled. Syntax options: A) TZ: UTC B) PASSWD: '{{ .Release.Name }}' C) PASSWD: configMapKeyRef: name: config-map-name key: key-name D) PASSWD: valueFrom: secretKeyRef: name: secret-name key: key-name ... E) - name: TZ value: UTC F) - name: TZ value: '{{ .Release.Name }}' |
|
| env | string | `nil` | Main environment variables. Template enabled. Syntax options: A) TZ: UTC B) PASSWD: '{{ .Release.Name }}' C) PASSWD: configMapKeyRef: name: config-map-name key: key-name D) PASSWD: valueFrom: secretKeyRef: name: secret-name key: key-name ... E) - name: TZ value: UTC F) - name: TZ value: '{{ .Release.Name }}' |
|
||||||
|
@ -129,7 +130,9 @@ N/A
|
||||||
| global.labels | object | `{}` | Set additional global labels. Helm templates can be used. |
|
| global.labels | object | `{}` | Set additional global labels. Helm templates can be used. |
|
||||||
| global.nameOverride | string | `nil` | Set an override for the prefix of the fullname |
|
| global.nameOverride | string | `nil` | Set an override for the prefix of the fullname |
|
||||||
| hostAliases | list | `[]` | Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames. [[ref]](https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/) |
|
| hostAliases | list | `[]` | Use hostAliases to add custom entries to /etc/hosts - mapping IP addresses to hostnames. [[ref]](https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/) |
|
||||||
|
| hostIPC | bool | `false` | Use the host's ipc namespace |
|
||||||
| hostNetwork | bool | `false` | When using hostNetwork make sure you set dnsPolicy to `ClusterFirstWithHostNet` |
|
| hostNetwork | bool | `false` | When using hostNetwork make sure you set dnsPolicy to `ClusterFirstWithHostNet` |
|
||||||
|
| hostPID | bool | `false` | Use the host's pid namespace |
|
||||||
| hostname | string | `nil` | Allows specifying explicit hostname setting |
|
| hostname | string | `nil` | Allows specifying explicit hostname setting |
|
||||||
| image.pullPolicy | string | `nil` | image pull policy |
|
| image.pullPolicy | string | `nil` | image pull policy |
|
||||||
| image.repository | string | `nil` | image repository |
|
| image.repository | string | `nil` | image repository |
|
||||||
|
@ -234,7 +237,7 @@ N/A
|
||||||
| serviceMonitor.main.nameOverride | string | `nil` | Override the name suffix that is used for this serviceMonitor. |
|
| serviceMonitor.main.nameOverride | string | `nil` | Override the name suffix that is used for this serviceMonitor. |
|
||||||
| serviceMonitor.main.selector | object | `{}` | Configures a custom selector for the serviceMonitor, this takes precedence over specifying a service name. Helm templates can be used. |
|
| serviceMonitor.main.selector | object | `{}` | Configures a custom selector for the serviceMonitor, this takes precedence over specifying a service name. Helm templates can be used. |
|
||||||
| serviceMonitor.main.serviceName | string | `"{{ include \"bjw-s.common.lib.chart.names.fullname\" $ }}"` | Configures the target Service for the serviceMonitor. Helm templates can be used. |
|
| serviceMonitor.main.serviceName | string | `"{{ include \"bjw-s.common.lib.chart.names.fullname\" $ }}"` | Configures the target Service for the serviceMonitor. Helm templates can be used. |
|
||||||
| sidecars | object | `{}` | Specify any sidecar containers here as dictionary items. Each sidecar container should have its own key. Helm templates can be used. |
|
| sidecars | object | `{}` | Specify any sidecar containers here as dictionary items. Each sidecar container should have its own key. The dictionary item key will determine the order. Helm templates can be used. |
|
||||||
| termination.gracePeriodSeconds | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle)] |
|
| termination.gracePeriodSeconds | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle)] |
|
||||||
| termination.messagePath | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
|
| termination.messagePath | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
|
||||||
| termination.messagePolicy | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
|
| termination.messagePolicy | string | `nil` | [[ref](https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/pod-v1/#lifecycle-1)] |
|
||||||
|
|
|
@ -30,6 +30,7 @@ spec:
|
||||||
{{- with .Values.controller.cronjob.ttlSecondsAfterFinished }}
|
{{- with .Values.controller.cronjob.ttlSecondsAfterFinished }}
|
||||||
ttlSecondsAfterFinished: {{ . }}
|
ttlSecondsAfterFinished: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
backoffLimit: {{ .Values.controller.cronjob.backoffLimit }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
{{- with include ("bjw-s.common.lib.metadata.podAnnotations") . }}
|
{{- with include ("bjw-s.common.lib.metadata.podAnnotations") . }}
|
||||||
|
|
|
@ -20,7 +20,9 @@ metadata:
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
|
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
|
||||||
|
{{- if not (eq .Values.controller.replicas nil) }}
|
||||||
replicas: {{ .Values.controller.replicas }}
|
replicas: {{ .Values.controller.replicas }}
|
||||||
|
{{- end }}
|
||||||
strategy:
|
strategy:
|
||||||
type: {{ $strategy }}
|
type: {{ $strategy }}
|
||||||
{{- with .Values.controller.rollingUpdate }}
|
{{- with .Values.controller.rollingUpdate }}
|
||||||
|
|
|
@ -20,9 +20,15 @@ runtimeClassName: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.schedulerName }}
|
{{- with .Values.schedulerName }}
|
||||||
schedulerName: {{ . }}
|
schedulerName: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.hostIPC }}
|
||||||
|
hostIPC: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.hostNetwork }}
|
{{- with .Values.hostNetwork }}
|
||||||
hostNetwork: {{ . }}
|
hostNetwork: {{ . }}
|
||||||
|
{{- end }}
|
||||||
|
{{- with .Values.hostPID }}
|
||||||
|
hostPID: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- with .Values.hostname }}
|
{{- with .Values.hostname }}
|
||||||
hostname: {{ . }}
|
hostname: {{ . }}
|
||||||
|
|
|
@ -19,7 +19,7 @@ controller:
|
||||||
annotations: {}
|
annotations: {}
|
||||||
# -- Set labels on the deployment/statefulset/daemonset/cronjob
|
# -- Set labels on the deployment/statefulset/daemonset/cronjob
|
||||||
labels: {}
|
labels: {}
|
||||||
# -- Number of desired pods
|
# -- Number of desired pods. When using a HorizontalPodAutoscaler, set this to `null`.
|
||||||
replicas: 1
|
replicas: 1
|
||||||
# -- Set the controller upgrade strategy
|
# -- Set the controller upgrade strategy
|
||||||
# For Deployments, valid values are Recreate (default) and RollingUpdate.
|
# For Deployments, valid values are Recreate (default) and RollingUpdate.
|
||||||
|
@ -57,6 +57,8 @@ controller:
|
||||||
# -- If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to
|
# -- If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to
|
||||||
# be automatically deleted.
|
# be automatically deleted.
|
||||||
ttlSecondsAfterFinished:
|
ttlSecondsAfterFinished:
|
||||||
|
# -- Limits the number of times a failed job will be retried
|
||||||
|
backoffLimit: 6
|
||||||
|
|
||||||
image:
|
image:
|
||||||
# -- image repository
|
# -- image repository
|
||||||
|
@ -168,9 +170,15 @@ schedulerName: # awkward-dangerous-scheduler
|
||||||
# -- Allows specifying explicit hostname setting
|
# -- Allows specifying explicit hostname setting
|
||||||
hostname:
|
hostname:
|
||||||
|
|
||||||
|
# -- Use the host's ipc namespace
|
||||||
|
hostIPC: false
|
||||||
|
|
||||||
# -- When using hostNetwork make sure you set dnsPolicy to `ClusterFirstWithHostNet`
|
# -- When using hostNetwork make sure you set dnsPolicy to `ClusterFirstWithHostNet`
|
||||||
hostNetwork: false
|
hostNetwork: false
|
||||||
|
|
||||||
|
# -- Use the host's pid namespace
|
||||||
|
hostPID: false
|
||||||
|
|
||||||
# -- Defaults to "ClusterFirst" if hostNetwork is false
|
# -- Defaults to "ClusterFirst" if hostNetwork is false
|
||||||
# and "ClusterFirstWithHostNet" if hostNetwork is true.
|
# and "ClusterFirstWithHostNet" if hostNetwork is true.
|
||||||
dnsPolicy: # ClusterFirst
|
dnsPolicy: # ClusterFirst
|
||||||
|
@ -725,7 +733,7 @@ addons:
|
||||||
# -- Specify the code-server image
|
# -- Specify the code-server image
|
||||||
repository: ghcr.io/coder/code-server
|
repository: ghcr.io/coder/code-server
|
||||||
# -- Specify the code-server image tag
|
# -- Specify the code-server image tag
|
||||||
tag: 4.11.0
|
tag: 4.12.0
|
||||||
# -- Specify the code-server image pull policy
|
# -- Specify the code-server image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
@ -819,7 +827,7 @@ addons:
|
||||||
# -- Specify the netshoot image
|
# -- Specify the netshoot image
|
||||||
repository: ghcr.io/nicolaka/netshoot
|
repository: ghcr.io/nicolaka/netshoot
|
||||||
# -- Specify the netshoot image tag
|
# -- Specify the netshoot image tag
|
||||||
tag: v0.9
|
tag: v0.10
|
||||||
# -- Specify the netshoot image pull policy
|
# -- Specify the netshoot image pull policy
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
description: A common powered chart template. This can be useful for small projects that don't have their own chart.
|
description: A common powered chart template. This can be useful for small projects that don't have their own chart.
|
||||||
name: app-template
|
name: app-template
|
||||||
version: 1.4.0
|
version: 1.5.0
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: bjw-s
|
- name: bjw-s
|
||||||
|
@ -10,12 +10,12 @@ maintainers:
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: common
|
- name: common
|
||||||
repository: https://bjw-s.github.io/helm-charts
|
repository: https://bjw-s.github.io/helm-charts
|
||||||
version: 1.4.0
|
version: 1.5.0
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |-
|
artifacthub.io/changes: |-
|
||||||
- kind: changed
|
- kind: changed
|
||||||
description: |
|
description: |
|
||||||
Updated library version to 1.4.0.
|
Updated library version to 1.5.0.
|
||||||
links:
|
links:
|
||||||
- name: Common library chart definition
|
- name: Common library chart definition
|
||||||
url: https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/Chart.yaml
|
url: https://github.com/bjw-s/helm-charts/blob/main/charts/library/common/Chart.yaml
|
||||||
|
|
|
@ -23,7 +23,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -52,7 +52,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -89,5 +89,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -45,7 +45,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -79,7 +79,7 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: jobTemplate metadata should pass
|
- it: jobTemplate metadata should pass
|
||||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -45,7 +45,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -79,5 +79,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -45,7 +45,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -79,5 +79,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -45,7 +45,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -79,5 +79,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -19,7 +19,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -45,7 +45,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -79,5 +79,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
35
charts/other/app-template/tests/pod/hostIPC_test.yaml
Normal file
35
charts/other/app-template/tests/pod/hostIPC_test.yaml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
suite: pod security
|
||||||
|
templates:
|
||||||
|
- common.yaml
|
||||||
|
tests:
|
||||||
|
- it: default should pass
|
||||||
|
asserts:
|
||||||
|
- documentIndex: 0
|
||||||
|
isKind:
|
||||||
|
of: Deployment
|
||||||
|
- documentIndex: 0
|
||||||
|
isNull:
|
||||||
|
path: spec.template.spec.hostIPC
|
||||||
|
|
||||||
|
- it: hostIPC disabled should pass
|
||||||
|
set:
|
||||||
|
hostIPC: false
|
||||||
|
asserts:
|
||||||
|
- documentIndex: 0
|
||||||
|
isKind:
|
||||||
|
of: Deployment
|
||||||
|
- documentIndex: 0
|
||||||
|
isNull:
|
||||||
|
path: spec.template.spec.hostIPC
|
||||||
|
|
||||||
|
- it: hostIPC enabled should pass
|
||||||
|
set:
|
||||||
|
hostIPC: true
|
||||||
|
asserts:
|
||||||
|
- documentIndex: 0
|
||||||
|
isKind:
|
||||||
|
of: Deployment
|
||||||
|
- documentIndex: 0
|
||||||
|
equal:
|
||||||
|
path: spec.template.spec.hostIPC
|
||||||
|
value: true
|
35
charts/other/app-template/tests/pod/hostPID_test.yaml
Normal file
35
charts/other/app-template/tests/pod/hostPID_test.yaml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
suite: pod security
|
||||||
|
templates:
|
||||||
|
- common.yaml
|
||||||
|
tests:
|
||||||
|
- it: default should pass
|
||||||
|
asserts:
|
||||||
|
- documentIndex: 0
|
||||||
|
isKind:
|
||||||
|
of: Deployment
|
||||||
|
- documentIndex: 0
|
||||||
|
isNull:
|
||||||
|
path: spec.template.spec.hostPID
|
||||||
|
|
||||||
|
- it: hostPID disabled should pass
|
||||||
|
set:
|
||||||
|
hostPID: false
|
||||||
|
asserts:
|
||||||
|
- documentIndex: 0
|
||||||
|
isKind:
|
||||||
|
of: Deployment
|
||||||
|
- documentIndex: 0
|
||||||
|
isNull:
|
||||||
|
path: spec.template.spec.hostPID
|
||||||
|
|
||||||
|
- it: hostPID enabled should pass
|
||||||
|
set:
|
||||||
|
hostPID: true
|
||||||
|
asserts:
|
||||||
|
- documentIndex: 0
|
||||||
|
isKind:
|
||||||
|
of: Deployment
|
||||||
|
- documentIndex: 0
|
||||||
|
equal:
|
||||||
|
path: spec.template.spec.hostPID
|
||||||
|
value: true
|
|
@ -19,7 +19,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: retain enabled should pass
|
- it: retain enabled should pass
|
||||||
set:
|
set:
|
||||||
|
@ -42,7 +42,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -68,7 +68,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -102,5 +102,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -23,7 +23,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -52,7 +52,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -89,5 +89,5 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -23,7 +23,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -52,7 +52,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -89,7 +89,7 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom secret type should pass
|
- it: custom secret type should pass
|
||||||
|
|
|
@ -18,7 +18,7 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
app.kubernetes.io/service: RELEASE-NAME
|
app.kubernetes.io/service: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
|
|
||||||
- it: custom metadata should pass
|
- it: custom metadata should pass
|
||||||
set:
|
set:
|
||||||
|
@ -45,7 +45,7 @@ tests:
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
app.kubernetes.io/service: RELEASE-NAME
|
app.kubernetes.io/service: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
||||||
- it: custom metadata with global metadata should pass
|
- it: custom metadata with global metadata should pass
|
||||||
|
@ -80,5 +80,5 @@ tests:
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
app.kubernetes.io/service: RELEASE-NAME
|
app.kubernetes.io/service: RELEASE-NAME
|
||||||
global_label: test
|
global_label: test
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test_label: test
|
test_label: test
|
||||||
|
|
|
@ -74,7 +74,7 @@ tests:
|
||||||
app.kubernetes.io/instance: RELEASE-NAME
|
app.kubernetes.io/instance: RELEASE-NAME
|
||||||
app.kubernetes.io/managed-by: Helm
|
app.kubernetes.io/managed-by: Helm
|
||||||
app.kubernetes.io/name: RELEASE-NAME
|
app.kubernetes.io/name: RELEASE-NAME
|
||||||
helm.sh/chart: app-template-1.4.0
|
helm.sh/chart: app-template-1.5.0
|
||||||
test.label: testvalue
|
test.label: testvalue
|
||||||
|
|
||||||
- it: a serviceMonitor is created with nameOverride
|
- it: a serviceMonitor is created with nameOverride
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue