Skip to content

Commit 78feeea

Browse files
committed
chore: Update dependencies
1 parent 2a5e1bc commit 78feeea

File tree

17 files changed

+55
-102
lines changed

17 files changed

+55
-102
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ jobs:
1818
registry-server: ghcr.io
1919
registry-username: ${{ github.actor }}
2020
image: ${{ github.repository }}
21-
version: 0.16.0
21+
version: 0.17.0
2222
secrets:
2323
pull-request-token: ${{ secrets.GH_ORG_PAT }}

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ The Engineering Platform package has the following configurable properties.
102102
| `platform.namespace` | `kadras-system` | The namespace where to install the platform. |
103103
| `platform.excluded_packages` | `[]` | A list of packages to exclude from being installed. |
104104
| `platform.ca_cert_data` | `""` | PEM-encoded certificate data to trust TLS connections with a custom CA. |
105-
| `platform.infrastructure_provider` | `""` | The underlying infrastructure provider. Options are `local` and `vsphere`. This field is not required, but it enables better validation and defaulting if provided. |
106105
| `platform.ingress.domain` | `""` | The base domain name the platform will use to configure the Ingress controller. It must be a valid DNS name. |
107106
| `platform.ingress.issuer.type` | `private` | The type of ClusterIssuer the platform will use to enable TLS communications. Options: `private`, `letsencrypt_staging`, `letsencrypt`, `custom`. |
108107
| `platform.ingress.issuer.name` | `""` | A reference to a custom ClusterIssuer previously created on the cluster where the platform will be installed. Required when the type is `custom`. |
@@ -123,8 +122,7 @@ Each Kadras package included in the platform can be configured independently.
123122
|-------|-------------------|-------------|
124123
| `buildpacks.catalog` | `{}` | Configuration for the Buildpacks Catalog package. |
125124
| `buildpacks.kpack` | `{}` | Configuration for the Kpack package. |
126-
| `cert_manager.core` | `{}` | Configuration for the Cert Manager package. |
127-
| `cert_manager.issuers` | `{}` | Configuration for the Cert Manager Issuers package. |
125+
| `cert_manager` | `{}` | Configuration for the Cert Manager package. |
128126
| `contour` | `{}` | Configuration for the Contour package. |
129127
| `crossplane` | `{}` | Configuration for the Crossplane package. |
130128
| `dapr` | `{}` | Configuration for the Dapr package. |

docs/quick-start/getting-started.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Add the Kadras repository to make the platform packages available to the cluster
5050

5151
```shell
5252
kctrl package repository add -r kadras-packages \
53-
--url ghcr.io/kadras-io/kadras-packages:0.18.0 \
53+
--url ghcr.io/kadras-io/kadras-packages:0.19.0 \
5454
-n kadras-system --create-namespace
5555
```
5656

@@ -61,9 +61,12 @@ The installation of the Kadras Engineering Platform can be configured via YAML.
6161
```yaml title="values.yml"
6262
platform:
6363
profile: run
64-
infrastructure_provider: local
6564
ingress:
6665
domain: 127.0.0.1.sslip.io
66+
contour:
67+
envoy:
68+
service:
69+
type: NodePort
6770
```
6871
6972
The Ingress is configured with the special domain `127.0.0.1.sslip.io` which will resolve to your localhost and be accessible via the kind cluster.
@@ -75,7 +78,7 @@ Reference the `values.yml` file you created in the previous step and install the
7578
```shell
7679
kctrl package install -i engineering-platform \
7780
-p engineering-platform.packages.kadras.io \
78-
-v 0.16.0 \
81+
-v 0.17.0 \
7982
-n kadras-system \
8083
--values-file values.yml
8184
```

package/config/components/buildpacks-catalog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
packageRef:
3535
refName: buildpacks-catalog.packages.kadras.io
3636
versionSelection:
37-
constraints: 0.11.0
37+
constraints: 0.12.0
3838
prereleases: {}
3939
values:
4040
- secretRef:

package/config/components/cert-manager-issuers.yml

Lines changed: 0 additions & 64 deletions
This file was deleted.

package/config/components/cert-manager.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,31 @@
55

66
#@ if is_package_enabled("cert-manager"):
77

8+
#@ def is_letsencrypt_issuer(issuer):
9+
#@ return issuer.type == "letsencrypt_staging" or issuer.type == "letsencrypt"
10+
#@ end
11+
12+
#@ def is_letsencrypt_production(issuer):
13+
#@ if issuer.type == "letsencrypt_staging":
14+
#@ return False
15+
#@ else:
16+
#@ return True
17+
#@ end
18+
#@ end
19+
820
#@ def compute_package_values():
9-
#@ return data.values.cert_manager.core
21+
#@ values = struct.decode(data.values.cert_manager)
22+
#@
23+
#@ if data.values.platform.ingress.issuer and is_letsencrypt_issuer(data.values.platform.ingress.issuer) and data.values.platform.ingress.issuer.email:
24+
#@ if not hasattr(data.values.cert_manager, "letsencrypt") or not hasattr(data.values.cert_manager.letsencrypt, "include") or not data.values.cert_manager.letsencrypt.include:
25+
#@ values["letsencrypt"] = {}
26+
#@ values["letsencrypt"]["include"] = True
27+
#@ values["letsencrypt"]["production"] = is_letsencrypt_production(data.values.platform.ingress.issuer)
28+
#@ values["letsencrypt"]["email"] = data.values.platform.ingress.issuer.email
29+
#@ end
30+
#@ end
31+
#@
32+
#@ return struct.encode(values)
1033
#@ end
1134

1235
---
@@ -23,7 +46,7 @@ spec:
2346
packageRef:
2447
refName: cert-manager.packages.kadras.io
2548
versionSelection:
26-
constraints: 1.14.5
49+
constraints: 1.15.0+kadras.1
2750
prereleases: {}
2851
values:
2952
- secretRef:

package/config/components/contour.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
#@ end
1616
#@ end
1717
#@
18-
#@ if not hasattr(data.values.contour, "infrastructure_provider"):
19-
#@ values["infrastructure_provider"] = data.values.platform.infrastructure_provider
20-
#@ end
21-
#@
2218
#@ return struct.encode(values)
2319
#@ end
2420

@@ -37,7 +33,7 @@ spec:
3733
packageRef:
3834
refName: contour.packages.kadras.io
3935
versionSelection:
40-
constraints: 1.29.0
36+
constraints: 1.29.1
4137
values:
4238
- secretRef:
4339
name: contour-values

package/config/components/dapr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
packageRef:
2626
refName: dapr.packages.kadras.io
2727
versionSelection:
28-
constraints: 1.13.2
28+
constraints: 1.13.4
2929
values:
3030
- secretRef:
3131
name: dapr-values

package/config/components/knative-serving.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ metadata:
3434
namespace: #@ data.values.platform.namespace
3535
annotations:
3636
kapp.k14s.io/change-group: knative-serving
37-
kapp.k14s.io/change-rule.cert-manager-issuers: upsert after upserting cert-manager-issuers
37+
kapp.k14s.io/change-rule.cert-manager: upsert after upserting cert-manager
3838
kapp.k14s.io/change-rule.contour: upsert after upserting contour
3939
kapp.k14s.io/change-rule.serviceaccount: delete before deleting serviceaccount
4040
spec:
4141
serviceAccountName: kadras-install-sa
4242
packageRef:
4343
refName: knative-serving.packages.kadras.io
4444
versionSelection:
45-
constraints: 1.14.0
45+
constraints: 1.14.1
4646
values:
4747
- secretRef:
4848
name: knative-serving-values

package/config/components/kpack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ spec:
5454
packageRef:
5555
refName: kpack.packages.kadras.io
5656
versionSelection:
57-
constraints: 0.13.3
57+
constraints: 0.14.1
5858
prereleases: {}
5959
values:
6060
- secretRef:

0 commit comments

Comments
 (0)