Skip to content

Commit

Permalink
[extra] bump bitnami/common
Browse files Browse the repository at this point in the history
  • Loading branch information
jouve committed Aug 22, 2023
1 parent af70917 commit 845ac2c
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
6 changes: 3 additions & 3 deletions charts/extra/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
version: 2.8.0
digest: sha256:8ab32897fda14bd026e41d2e532e07b1ea04a31588031cd50aa06d31748d858a
generated: "2023-08-21T11:10:58.225999+02:00"
version: 2.9.0
digest: sha256:79214ee1797422ecbe045584630381194bf225ce0545acc0a07b6fc874ce8aad
generated: "2023-08-22T17:38:36.997994+02:00"
2 changes: 1 addition & 1 deletion charts/extra/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: extra
description: Deploy a list of Kubernetes resources as a release
type: application
version: 0.1.2
version: 0.1.3
dependencies:
- name: common
repository: oci://registry-1.docker.io/bitnamicharts
Expand Down
13 changes: 13 additions & 0 deletions charts/extra/ci/configmap-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
extraDeploy:
- |
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "common.names.fullname" . }}
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- with .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" . "context" $ ) | nindent 4 }}
{{- end }}
data:
foo: bar
19 changes: 19 additions & 0 deletions charts/extra/tests/configmap_test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
suite: test configmap
templates:
- extra-list.yaml
tests:
- it: should create a ConfigMap
values:
- ../ci/configmap-values.yaml
asserts:
- containsDocument:
apiVersion: v1
kind: ConfigMap
- isSubset:
path: metadata.labels
content:
app.kubernetes.io/name: extra
app.kubernetes.io/instance: RELEASE-NAME
- equal:
path: data.foo
value: bar

0 comments on commit 845ac2c

Please sign in to comment.