Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
registry-server: ghcr.io
registry-username: ${{ github.actor }}
image: ${{ github.repository }}
version: 0.10.0-RC3
version: 0.10.0-RC4
secrets:
pull-request-token: ${{ secrets.GH_ORG_PAT }}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ The Engineering Platform package has the following configurable properties.
| Config | Default | Description |
|-------|-------------------|-------------|
| `platform.profile` | `full` | The platform profile to install. Options: `full`, `serving`. |
| `platform.supply_chain` | `basic` | The type of supply chain to deploy. Options: `basic`, `advanced`. |
| `platform.namespace` | `kadras-packages` | The namespace where to install the platform. |
| `platform.excluded_packages` | `[]` | A list of packages to exclude from being installed. |
| `platform.ca_cert_data` | `""` | PEM-encoded certificate data to trust TLS connections with a custom CA. |
Expand Down
5 changes: 3 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,9 @@ Then, create a Secret with the credentials to access your Git server in read/wri

```shell
kubectl create secret generic supply-chain-git-credentials \
--from-literal=username"${SUPPLY_CHAIN_REGISTRY_USERNAME}" \
--from-literal=password="${SUPPLY_CHAIN_REGISTRY_TOKEN}" \
--type=kubernetes.io/basic-auth \
--from-literal=username="${SUPPLY_CHAIN_GIT_USERNAME}" \
--from-literal=password="${SUPPLY_CHAIN_GIT_TOKEN}" \
--namespace=kadras-packages
```

Expand Down
2 changes: 1 addition & 1 deletion package/config/buildpacks-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
packageRef:
refName: buildpacks-catalog.packages.kadras.io
versionSelection:
constraints: 0.8.0
constraints: 0.9.1
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/cartographer-blueprints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
packageRef:
refName: cartographer-blueprints.packages.kadras.io
versionSelection:
constraints: 0.5.1
constraints: 0.6.1
prereleases: {}
values:
- secretRef:
Expand Down
15 changes: 13 additions & 2 deletions package/config/cartographer-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@
#@ if is_package_enabled("cartographer-delivery") and is_any_profile_enabled([profiles.full]):

#@ def compute_package_values():
#@ return data.values.cartographer.delivery
#@ values = struct.decode(data.values.cartographer.delivery)
#@
#@ #! Compute values for Git server
#@ if is_any_profile_enabled([profiles.full]):
#@ if data.values.platform.git.server and data.values.platform.git.secret.name and data.values.platform.git.secret.namespace:
#@ if not hasattr(data.values.cartographer.delivery, "git_credentials_secret") or not data.values.cartographer.delivery.git_credentials_secret:
#@ values["git_credentials_secret"] = data.values.platform.git.secret.name
#@ end
#@ end
#@ end
#@
#@ return struct.encode(values)
#@ end

---
Expand All @@ -25,7 +36,7 @@ spec:
packageRef:
refName: cartographer-delivery.packages.kadras.io
versionSelection:
constraints: 0.4.1
constraints: 0.5.0
prereleases: {}
values:
- secretRef:
Expand Down
23 changes: 22 additions & 1 deletion package/config/cartographer-supply-chains.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@
#@ def compute_package_values():
#@ values = struct.decode(data.values.cartographer.supply_chains)
#@
#@ #! Compute values for CA Certificates
#@ if data.values.platform.ca_cert_data:
#@ values["ca_cert_data"] = values["ca_cert_data"] + data.values.platform.ca_cert_data
#@ end
#@
#@ #! Compute values for Supply Chain
#@ if data.values.platform.supply_chain:
#@ if not hasattr(data.values.cartographer.supply_chains, "supply_chain") or not data.values.cartographer.supply_chains.supply_chain:
#@ values["supply_chain"] = data.values.platform.supply_chain
#@ end
#@ end
#@
#@ #! Compute values for OCI Registry server
#@ if data.values.platform.oci_registry.server and data.values.platform.oci_registry.repository:
#@ if not hasattr(data.values.cartographer.supply_chains, "registry") or not hasattr(data.values.cartographer.supply_chains.registry, "server") or not hasattr(data.values.cartographer.supply_chains.registry, "repository") or not data.values.cartographer.supply_chains.registry.server or not data.values.cartographer.supply_chains.registry.repository:
Expand All @@ -17,6 +29,15 @@
#@ end
#@ end
#@
#@ #! Compute values for Git server
#@ if is_any_profile_enabled([profiles.full]):
#@ if data.values.platform.git.server and data.values.platform.git.secret.name and data.values.platform.git.secret.namespace:
#@ if not hasattr(data.values.cartographer.supply_chains, "git_credentials_secret") or not data.values.cartographer.supply_chains.git_credentials_secret:
#@ values["git_credentials_secret"] = data.values.platform.git.secret.name
#@ end
#@ end
#@ end
#@
#@ return struct.encode(values)
#@ end

Expand All @@ -36,7 +57,7 @@ spec:
packageRef:
refName: cartographer-supply-chains.packages.kadras.io
versionSelection:
constraints: 0.5.1
constraints: 0.6.0
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/cartographer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
packageRef:
refName: cartographer.packages.kadras.io
versionSelection:
constraints: 0.7.1+tap.1
constraints: 0.7.3
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/cert-manager-issuers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
packageRef:
refName: cert-manager-issuers.packages.kadras.io
versionSelection:
constraints: 0.2.1
constraints: 0.2.2
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/cert-manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
packageRef:
refName: cert-manager.packages.kadras.io
versionSelection:
constraints: 1.12.2
constraints: 1.12.3
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/contour.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:
packageRef:
refName: contour.packages.kadras.io
versionSelection:
constraints: 1.25.0+kadras.3
constraints: 1.25.2
values:
- secretRef:
name: contour-values
Expand Down
2 changes: 1 addition & 1 deletion package/config/fluxcd-source.controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
packageRef:
refName: fluxcd-source-controller.packages.kadras.io
versionSelection:
constraints: 0.36.1
constraints: 1.0.1+kadras.1
values:
- secretRef:
name: fluxcd-source-controller-values
Expand Down
2 changes: 1 addition & 1 deletion package/config/knative-serving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
packageRef:
refName: knative-serving.packages.kadras.io
versionSelection:
constraints: 1.10.2+kadras.1
constraints: 1.11.0
values:
- secretRef:
name: knative-serving-values
Expand Down
2 changes: 1 addition & 1 deletion package/config/kpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
packageRef:
refName: kpack.packages.kadras.io
versionSelection:
constraints: 0.11.1
constraints: 0.11.2+kadras.1
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/metrics-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
packageRef:
refName: metrics-server.packages.kadras.io
versionSelection:
constraints: 0.6.3
constraints: 0.6.4
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/secretgen-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#@ load("@ytt:yaml", "yaml")
#@ load("/helpers.star", "is_any_profile_enabled", "is_package_enabled", "profiles")

#@ if is_package_enabled("secretgen-controller") and is_any_profile_enabled([profiles.serving]):
#@ if is_package_enabled("secretgen-controller") and is_any_profile_enabled([profiles.full, profiles.serving]):

#@ def compute_package_values():
#@ return data.values.secretgen_controller
Expand Down
2 changes: 1 addition & 1 deletion package/config/spring-boot-conventions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
packageRef:
refName: spring-boot-conventions.packages.kadras.io
versionSelection:
constraints: 0.2.1
constraints: 0.3.0
values:
- secretRef:
name: spring-boot-conventions-values
Expand Down
2 changes: 1 addition & 1 deletion package/config/tekton-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
packageRef:
refName: tekton-catalog.packages.kadras.io
versionSelection:
constraints: 0.1.1
constraints: 0.2.1
prereleases: {}
values:
- secretRef:
Expand Down
2 changes: 1 addition & 1 deletion package/config/tekton-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ spec:
packageRef:
refName: tekton-pipelines.packages.kadras.io
versionSelection:
constraints: 0.46.0+kadras.2
constraints: 0.49.0
prereleases: {}
values:
- secretRef:
Expand Down
3 changes: 3 additions & 0 deletions package/config/values-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ platform:
#@schema/desc "The platform profile to install. Options: `full`, `serving`."
#@schema/validation one_of=["full", "serving"]
profile: full
#@schema/desc "The type of supply chain to deploy. Options: `basic`, `advanced`."
#@schema/validation one_of=["basic", "advanced"]
supply_chain: basic
#@schema/desc "The namespace where to install the platform."
namespace: kadras-packages
#@schema/desc "A list of packages to exclude from being installed."
Expand Down
2 changes: 1 addition & 1 deletion package/config/workspace-provisioner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ spec:
packageRef:
refName: workspace-provisioner.packages.kadras.io
versionSelection:
constraints: 0.2.0
constraints: 0.2.1
values:
- secretRef:
name: workspace-provisioner-values
Expand Down