Skip to content

Commit

Permalink
chore: simplify chart and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
carslen committed Mar 14, 2023
1 parent 45f72a6 commit adfaea9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion charts/avp-demo4/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.1
version: 0.2.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
9 changes: 0 additions & 9 deletions charts/avp-demo4/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,3 @@ metadata:
name: {{ .Chart.Name }}-secret1
stringData:
foo: {{ .Values.secrets.path | default (randAlphaNum 8) }}
---
apiVersion: v1
kind: Secret
metadata:
annotations:
avp.kubernetes.io/path: {{ .Values.secrets.annotated }}
name: {{ .Chart.Name }}-secret2
stringData:
foo: <foo>
1 change: 0 additions & 1 deletion charts/avp-demo4/values-demo.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
secrets:
path: <path:product-team-example/data/hello#foo>
annotated: product-team-example/data/hello

mariadb:
auth:
Expand Down
9 changes: 9 additions & 0 deletions charts/avp-demo4/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
secrets:
path: <path:path/data/to/vault/secret#key>

mariadb:
auth:
database: mylala-db
username: lala-default
commonLabels:
foo: commonBar

0 comments on commit adfaea9

Please sign in to comment.