Skip to content

Commit 0de599a

Browse files
committed
Add support for AKS
1 parent eeba8d5 commit 0de599a

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
registry-server: ghcr.io
1818
registry-username: ${{ github.actor }}
1919
image: ${{ github.repository }}
20-
version: 1.10.1
20+
version: 1.10.1+kadras.1
2121
secrets:
2222
pull-request-token: ${{ secrets.GH_ORG_PAT }}

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Then, install the Cert Manager package.
2929
```shell
3030
kctrl package install -i cert-manager \
3131
-p cert-manager.packages.kadras.io \
32-
-v 1.10.1 \
32+
-v 1.10.1+kadras.1 \
3333
-n kadras-packages
3434
```
3535

@@ -43,7 +43,7 @@ You can verify the list of installed Carvel packages and their status.
4343

4444
### Version
4545

46-
You can get the list of versions available in the Kadras package repository for Cert Manager.
46+
You can get the list of Cert Manager versions available in the Kadras package repository.
4747

4848
```shell
4949
kctrl package available list -p cert-manager.packages.kadras.io -n kadras-packages
@@ -68,7 +68,7 @@ Then, pass the file when installing the package.
6868
```shell
6969
kctrl package install -i cert-manager \
7070
-p cert-manager.packages.kadras.io \
71-
-v 1.10.1 \
71+
-v 1.10.1+kadras.1 \
7272
-n kadras-packages \
7373
--values-file values.yml
7474
```
@@ -93,8 +93,7 @@ You can also update an existing package with a newer `values.yml` file.
9393

9494
## Other
9595

96-
The recommended way of installing the Cert Manager package is via the [Kadras package repository](https://github.com/arktonix/kadras-packages). If you prefer not using the repository, you can install the package by creating the necessary Carvel `PackageMetadata` and `Package` resources directly
97-
using [`kapp`](https://carvel.dev/kapp/docs/latest/install) or `kubectl`.
96+
The recommended way of installing the Cert Manager package is via the [Kadras package repository](https://github.com/arktonix/kadras-packages). If you prefer not using the repository, you can install the package by creating the necessary Carvel `PackageMetadata` and `Package` resources directly using [`kapp`](https://carvel.dev/kapp/docs/latest/install) or `kubectl`.
9897

9998
```shell
10099
kubectl create namespace kadras-packages
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#@ load("@ytt:data", "data")
2+
#@ load("@ytt:overlay", "overlay")
3+
4+
#! On AKS, we disable the Admissions Enforcer so that it doesn't interfer with the Cert Manager webhooks.
5+
#! See: https://github.com/cert-manager/cert-manager/issues/4114
6+
#! See: https://learn.microsoft.com/en-us/azure/aks/faq#can-admission-controller-webhooks-impact-kube-system-and-internal-aks-namespaces
7+
8+
#@ mutating_webhook = overlay.subset({"apiVersion": "admissionregistration.k8s.io/v1", "kind": "MutatingWebhookConfiguration"})
9+
#@ validating_webhook = overlay.subset({"apiVersion": "admissionregistration.k8s.io/v1", "kind": "ValidatingWebhookConfiguration"})
10+
11+
#@overlay/match by=overlay.or_op(mutating_webhook,validating_webhook), expects=2
12+
---
13+
metadata:
14+
#@overlay/match missing_ok=True
15+
annotations:
16+
#@overlay/match missing_ok=True
17+
admissions.enforcer/disabled: "true"

0 commit comments

Comments
 (0)