Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #112 from DVPE-cloud/feature/clusterIssuer2
Browse files Browse the repository at this point in the history
updateing to new external-secret structures
  • Loading branch information
felixjenkel authored Jun 6, 2023
2 parents a196e53 + a056e11 commit 44be004
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
4 changes: 4 additions & 0 deletions charts/dvpe-cluster-issuer/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.3.0]
### Changed
* Respects new version of external secrets and external-secrets deployment (namespacebound)

## [0.2.1]
### Changed
Expand All @@ -22,3 +25,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[0.1.0]: https://github.com/DVPE-cloud/dvpe-helm/tree/dvpe-cluster-issuer-0.1.0/charts/dvpe-cluster-issuer
[0.2.0]: https://github.com/DVPE-cloud/dvpe-helm/tree/dvpe-cluster-issuer-0.2.0/charts/dvpe-cluster-issuer
[0.2.1]: https://github.com/DVPE-cloud/dvpe-helm/tree/dvpe-cluster-issuer-0.2.1/charts/dvpe-cluster-issuer
[0.3.0]: https://github.com/DVPE-cloud/dvpe-helm/tree/dvpe-cluster-issuer-0.3.0/charts/dvpe-cluster-issuer
2 changes: 1 addition & 1 deletion charts/dvpe-cluster-issuer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v1
appVersion: "1.1"
description: Helm chart for installing cert-manager's ClusterIssuer resource, to be used in Kubernetes automation scripts.
name: dvpe-cluster-issuer
version: 0.2.1
version: 0.3.0
home: https://github.com/dvpe-cloud/dvpe-helm
2 changes: 1 addition & 1 deletion charts/dvpe-cluster-issuer/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dvpe-cluster-issuer

![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square)
![Version: 0.3.0](https://img.shields.io/badge/Version-0.3.0-informational?style=flat-square)

Helm chart for installing cert-manager's ClusterIssuer resource, to be used in Kubernetes automation scripts.

Expand Down
14 changes: 11 additions & 3 deletions charts/dvpe-cluster-issuer/templates/cluster-issuer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,22 @@ spec:

---

apiVersion: kubernetes-client.io/v1
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: wadtfy-{{ $issuerName }}-cluster-issuer-secret
namespace: {{ $.Values.clcm.secretsNamespace }}
spec:
backendType: secretsManager
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: wadtfy-cluster-secret-store
target:
name: {{ $issuerParams.secretsManagerSecretName }}
creationPolicy: Owner
dataFrom:
- {{ $issuerParams.secretsManagerSecretName }}
- extract:
key: "{{ $issuerParams.secretsManagerSecretName }}"

---
{{- end }}

0 comments on commit 44be004

Please sign in to comment.