Skip to content

Commit

Permalink
Updates to Helm chart. 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
axisofentropy committed Mar 1, 2022
1 parent b15153c commit 9edbafe
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 11 deletions.
6 changes: 3 additions & 3 deletions charts/uffizzi-controller/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: uffizzi-controller
version: 0.0.3
version: 0.0.4
kubeVersion: ">= 1.21.6-0" # https://issuetracker.google.com/issues/77503699
description: "A smart proxy service that handles requests from Uffizzi App to the Kubernetes API - 1 of 3 services (controller, uffizzi_app, uffizzi_cli) that comprise the uffizzi full-stack previews engine which automates trigger-based on-demand preview environments"
type: application
Expand All @@ -21,14 +21,14 @@ sources:
- https://gitlab.com/dualbootpartners/idyl/uffizzi_controller
dependencies:
- name: ingress-nginx
version: ">= 4.0.13"
version: "~4.0.17"
repository: https://kubernetes.github.io/ingress-nginx
# condition:
# tags:
# import-values:
# alias:
- name: cert-manager
version: ">= 1.7.0"
version: "~1.7.1"
repository: https://charts.jetstack.io
# condition:
# tags:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-{{ .Values.clusterIssuer }}-eab-secret
type: Opaque
data:
eab_hmac_key: {{ .Values.eab.hmacKey | b64enc }}
11 changes: 3 additions & 8 deletions charts/uffizzi-controller/templates/cluster-issuer.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ .Release.Name }}-{{ .Values.clusterIssuer }}-eab-secret
type: Opaque
data:
eab_hmac_key: {{ .Values.eab.hmacKey | b64enc }}
---
apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: {{ .Values.clusterIssuer }}
annotations:
"helm.sh/hook": post-install,post-upgrade
"helm.sh/hook-weight": "99"
spec:
acme:
email: [email protected]
Expand Down
5 changes: 5 additions & 0 deletions charts/uffizzi-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ spec:
- secretRef:
name: {{ .Release.Name }}-secret-env
optional: false
env:
- name: KUBERNETES_NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: {{ .Values.image }}
imagePullPolicy: Always
name: controller
Expand Down

0 comments on commit 9edbafe

Please sign in to comment.