Skip to content

Commit

Permalink
Add cert-manager CSI driver (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobdoah authored Sep 10, 2022
1 parent c2361a5 commit f30d8c6
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
17 changes: 17 additions & 0 deletions add-ons/cert-manager-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
apiVersion: v2
name: cert-manager-csi-driver
description: A Helm chart for installing cert-manager
type: application

# The chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 0.1.0

# Version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: "1.0"

dependencies:
- name: cert-manager-csi-driver
version: v0.4.2
repository: https://charts.jetstack.io
31 changes: 31 additions & 0 deletions chart/templates/cert-manager-csi-driver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{{- if and (.Values.certManagerCsiDriver) (.Values.certManagerCsiDriver.enable) -}}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: cert-manager-csi-driver
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: {{ .Values.repoUrl }}
path: add-ons/cert-manager
targetRevision: {{ .Values.targetRevision }}
helm:
values: |
cert-manager-csi-driver:
{{- toYaml .Values.certManagerCsiDriver | nindent 10 }}
destination:
server: https://kubernetes.default.svc
namespace: cert-manager
syncPolicy:
automated:
prune: true
retry:
limit: 1
backoff:
duration: 5s
factor: 2
maxDuration: 1m
{{- end -}}
4 changes: 4 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ certManager:
enable: false
serviceAccountName:

# Cert Manager CSI Driver Values
certManagerCsiDriver:
enable: false

# Cluster Autoscaler Values
clusterAutoscaler:
enable: false
Expand Down

0 comments on commit f30d8c6

Please sign in to comment.