Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract Cert manager from the teams-recording-bot chart #23

Merged
merged 4 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,10 @@ apiVersion: cert-manager.io/v1
kind: ClusterIssuer
metadata:
name: letsencrypt
namespace: {{ index .Values "cert-manager" "namespace" }}
labels:
helmVersion: {{ .Chart.Version }}
helmAppVersion: {{ .Chart.AppVersion }}
helmName: {{ .Chart.Name }}
spec:
acme:
server: https://acme-v02.api.letsencrypt.org/directory
email: {{ index .Values "cert-manager" "issuerEmail" }}
email: YOUR_EMAIL
privateKeySecretRef:
name: letsencrypt
solvers:
Expand Down
23 changes: 23 additions & 0 deletions Samples/PublicSamples/RecordingBot/deploy/cert-manager/install.bat
1fabi0 marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@echo off

echo Updating helm repo
helm repo add jetstack https://charts.jetstack.io
helm repo update

echo Installing cert-manager
helm upgrade ^
cert-manager jetstack/cert-manager ^
--namespace cert-manager ^
--create-namespace ^
--version v1.13.3 ^
--install ^
--set nodeSelector."kubernetes\.io/os"=linux ^
--set webhook.nodeSelector."kubernetes\.io/os"=linux ^
--set cainjector.nodeSelector."kubernetes\.io/os"=linux ^
--set installCRDs=true

echo Waiting for cert-manager to be ready
kubectl wait pod -n cert-manager --for condition=ready --timeout=60s --all

echo Installing cluster issuer
kubectl apply -f cluster-issuer.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
dependencies:
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.13.2
- name: ingress-nginx
repository: https://kubernetes.github.io/ingress-nginx
version: 4.8.3
digest: sha256:c2ebed9bfcf0ae016d15b576453e9e42a459b1e4d4bf9c1f8ed6ef763c91f46f
generated: "2023-11-27T14:29:26.6895132+01:00"
digest: sha256:7dafa2cf6d937c80fb3cd1791ad242b055f9dc67931e216b6da22350c534177b
generated: "2024-01-08T12:22:54.332827+01:00"
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ 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: 1.3.0
version: 1.3.1

# 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.2.0

dependencies:
- name: cert-manager
version: v1.13.2
repository: https://charts.jetstack.io
alias: cert-manager
- name: ingress-nginx
version: 4.8.3
repository: https://kubernetes.github.io/ingress-nginx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,6 @@ resources: {}
# cpu: 100m
# memory: 128Mi

cert-manager:
namespace: cert-manager
installCRDs: true
issuerEmail: YOUR EMAIL
nodeSelector:
"kubernetes.io/os": linux
webhook:
nodeSelector:
"kubernetes.io/os": linux
caininjector:
nodeSelector:
"kubernetes.io/os": linux

ingress-nginx:
namespaceOverride: ingress-nginx
controller:
Expand Down