test in app secret decrypt and import

This commit is contained in:
2024-07-15 21:42:29 +10:00
parent 22ba7a127a
commit 3fe80b2f64
7 changed files with 33 additions and 35 deletions

View File

@@ -1,4 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- secrets+age-import-kubernetes://argocd/sops-age#age.agekey?./postgresql.yaml

View File

@@ -0,0 +1,23 @@
apiVersion: v2
name: app-secrets
description: Applications
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
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.1.0
# 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
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: "1.0"

View File

@@ -0,0 +1,9 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: app-secrets
spec:
source:
helm:
valueFiles:
- secrets://secrets/postgresql.yaml