Skip to content

Commit

Permalink
Merge pull request #38 from djkormo/chart-test-3
Browse files Browse the repository at this point in the history
adding 2.0.8 chart version
  • Loading branch information
djkormo authored Dec 14, 2023
2 parents 61038e8 + 9577f49 commit 21afc25
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
4 changes: 2 additions & 2 deletions charts/adcs-issuer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ 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: 2.0.7
version: 2.0.8
# 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.
# It is recommended to use it with quotes.
appVersion: "2.0.7"
appVersion: "2.0.8"

Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,7 @@ subjects:
- kind: ServiceAccount
name: {{ .Values.controllerManager.rbac.serviceAccountName }}
namespace: {{ .Release.Namespace }}

- kind: ServiceAccount
name: {{ .Values.controllerManager.rbac.certManagerServiceAccountName }}
namespace: {{ .Values.controllerManager.rbac.certManagerNamespace }}
{{- end }}
16 changes: 11 additions & 5 deletions charts/adcs-issuer/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,17 @@ spec:
{{- include "chart.selectorLabels" . | nindent 8 }}
spec:
containers:
{{- if .Values.controllerManager.arguments }}
- args:
- --enable-leader-election=true
- --cluster-resource-namespace={{ .Release.Namespace }}
- --zap-log-level=5
- --disable-approved-check=false
{{- range $key, $value := .Values.controllerManager.arguments }}
{{- if $value }}
- --{{ $key }}={{ $value }}
{{- else }}
- --{{ $key }}
{{- end }}
{{- end }}
{{- end }}

command:
- /manager
env:
Expand Down Expand Up @@ -60,7 +66,7 @@ spec:
{{- end }}
terminationGracePeriodSeconds:
securityContext:
{{- toYaml .Values.controllerManager.securityContext | nindent 8 }}
{{- toYaml .Values.controllerManager.securityContext | nindent 10 }}
serviceAccountName: {{ .Values.controllerManager.rbac.serviceAccountName }}
volumes:
{{- if .Values.controllerManager.enabledWebHooks }}
Expand Down
12 changes: 7 additions & 5 deletions charts/adcs-issuer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ controllerManager:

rbac:
enabled: true
serviceAccountName: adcs-issuser
serviceAccountName: adcs-issuer
certManagerNamespace: cert-manager
certManagerServiceAccountName: cert-manager


replicas: 1
Expand All @@ -26,10 +28,10 @@ controllerManager:
ENABLE_WEBHOOKS: "false"
ENABLE_DEBUG: "false"
arguments:
- --enable-leader-election=true
- --cluster-resource-namespace=cert-manager
- --zap-log-level=5
- --disable-approved-check=false
enable-leader-election: "true"
cluster-resource-namespace: cert-manager
zap-log-level: 5
disable-approved-check: "false"

securityContext:
runAsUser: 1000
Expand Down

0 comments on commit 21afc25

Please sign in to comment.