From ba6f245b15b2ed8d25a61b23aec84547ba38d671 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 19:46:39 +0000 Subject: [PATCH 1/8] Update Tekton Pipelines metadata and add version 0.40.2 --- .../0.40.2.yml | 137 ++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 repo/packages/tekton-pipelines.packages.kadras.io/0.40.2.yml diff --git a/repo/packages/tekton-pipelines.packages.kadras.io/0.40.2.yml b/repo/packages/tekton-pipelines.packages.kadras.io/0.40.2.yml new file mode 100644 index 0000000..e2a96ef --- /dev/null +++ b/repo/packages/tekton-pipelines.packages.kadras.io/0.40.2.yml @@ -0,0 +1,137 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: tekton-pipelines.packages.kadras.io.0.40.2 +spec: + licenses: + - Apache 2.0 + refName: tekton-pipelines.packages.kadras.io + releaseNotes: https://github.com/tektoncd/pipeline/releases + releasedAt: "2022-10-25T19:45:30Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/package-for-tekton-pipelines@sha256:002d09fe984aec80881459b8d24a74ee9f6dc10632cfc6be7828646bea4d7b82 + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + defaults: + additionalProperties: false + description: Default configuration stored in the config-defaults ConfigMap. + properties: + affinity_assistant_pod_template: + default: "" + description: Pod template to use for affinity assistant pods. + type: string + cloud_events_sink: + default: "" + description: CloudEvents sink to be used for TaskRun and PipelineRun. + If no sink is specified, no CloudEvent is generated. + type: string + managed_by_label_value: + default: tekton-pipelines + description: Value given to the 'app.kubernetes.io/managed-by' label + applied to all Pods created for TaskRuns. + type: string + max_matrix_combinations_count: + default: "256" + description: Maximum number of combinations from a Matrix, if none is + specified. + type: string + pod_template: + default: "" + description: Pod template to use for TaskRun and PipelineRun. + type: string + service_account: + default: default + description: Service account name to use for TaskRun and PipelineRun, + if none is specified. + type: string + task_run_workspace_binding: + default: "" + description: Workspace configuration provided for any Workspaces that + a Task declares but that a TaskRun does not explicitly provide. + example: 'emptyDir: {}' + type: string + x-example-description: Use emptyDir volume for workspace + timeout_minutes: + default: "60" + description: Number of minutes to use for TaskRun and PipelineRun, if + none is specified. + type: string + type: object + feature_flags: + additionalProperties: false + description: Feature flags configuration stored in the feature-flags ConfigMap. + properties: + await_sidecar_readiness: + default: "true" + description: Setting this flag to 'false' will stop Tekton from waiting + for a TaskRun's sidecar containers to be running before starting the + first step. This will allow Tasks to be run in environments that don't + support the DownwardAPI volume type, but may lead to unintended behaviour + if sidecars are used. + type: string + disable_affinity_assistant: + default: "false" + description: Setting this flag to 'true' will prevent Tekton to create + an Affinity Assistant for every TaskRun sharing a PVC workspace. + type: string + disable_creds_init: + default: "false" + description: Setting this flag to 'true' will prevent Tekton scanning + attached service accounts and injecting any credentials it finds into + your Steps. + type: string + enable_api_fields: + default: stable + description: Setting this flag will determine which gated features are + enabled. + type: string + enable_custom_tasks: + default: "false" + description: Setting this flag to 'true' enables the use of custom tasks + from within pipelines. This is an experimental feature and thus should + still be considered an alpha feature. + type: string + enable_tekton_oci_bundles: + default: "false" + description: Setting this flag to 'true' enables the use of Tekton OCI + bundle. This is an experimental feature and thus should still be considered + an alpha feature. + type: string + require_git_ssh_secret_known_hosts: + default: "false" + description: Setting this flag to 'true' will require that any Git SSH + Secret offered to Tekton must have known_hosts included. + type: string + running_in_environment_with_injected_sidecars: + default: "true" + description: This option should be set to 'false' when Pipelines is + running in a cluster that does not use injected sidecars such as Istio. + Setting it to false should decrease the time it takes for a TaskRun + to start running. For clusters that use injected sidecars, setting + this option to false can lead to unexpected behavior. + type: string + send_cloudevents_for_runs: + default: "false" + description: Setting this flag to 'true' enables CloudEvents for Runs, + as long as a CloudEvents sink is configured in the config-defaults + config map. + type: string + type: object + type: object + version: 0.40.2 From 0ddfe7946c26c08cf6c7357d8d7450d10fe850d1 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 20:42:38 +0000 Subject: [PATCH 2/8] Update Knative Serving metadata and add version 1.8.0 --- .../1.8.0.yml | 122 ++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 repo/packages/knative-serving.packages.kadras.io/1.8.0.yml diff --git a/repo/packages/knative-serving.packages.kadras.io/1.8.0.yml b/repo/packages/knative-serving.packages.kadras.io/1.8.0.yml new file mode 100644 index 0000000..4f59793 --- /dev/null +++ b/repo/packages/knative-serving.packages.kadras.io/1.8.0.yml @@ -0,0 +1,122 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: knative-serving.packages.kadras.io.1.8.0 +spec: + licenses: + - Apache 2.0 + refName: knative-serving.packages.kadras.io + releaseNotes: https://github.com/knative/serving/releases + releasedAt: "2022-10-25T20:41:25Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/package-for-knative-serving@sha256:58d4eef2ee7a909f277c6f2cb4ea24a63f16d865183b12b9192f19fb3a6c80a5 + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + domain: + additionalProperties: false + description: DNS configuration + properties: + name: + default: "" + description: Your own domain name if type real or empty if type sslip.io + or nip.io + type: string + type: + default: nip.io + description: Type of DNS configuration + type: string + url_template: + default: '{{.Name}}.{{.Namespace}}.{{.Domain}}' + description: The domain template to use when creating new services + type: string + type: object + ingress: + additionalProperties: false + description: Ingress configuration + properties: + external: + additionalProperties: false + description: Configuration for the external Ingress controller + properties: + namespace: + default: projectcontour + description: The namespace where the external Ingress controller + is installed + type: string + type: object + internal: + additionalProperties: false + description: Configuration for the internale Ingress controller + properties: + namespace: + default: projectcontour + description: The namespace where the internal Ingress controller + is installed + type: string + type: object + type: object + namespace: + default: knative-serving + description: The namespace where to install Knative Serving + type: string + scaling: + additionalProperties: false + description: Configuration for the Knative autoscaler + properties: + allow_zero_initial_scale: + default: "true" + description: Whether either the initial_scale config or the 'autoscaling.knative.dev/initial-scale' + annotation can be set to 0 + type: string + initial_scale: + default: "1" + description: The initial target scale of a revision after creation + type: string + max_scale: + default: "0" + description: The maximum scale of a revision. If set to 0, the revision + has no maximum scale. + type: string + min_scale: + default: "0" + description: The minimum scale of a revision + type: string + scale_down_delay: + default: 0s + description: The amount of time that must pass at reduced concurrency + before a scale down decision is applied. If 0s, no delay. + type: string + type: object + tls: + additionalProperties: false + description: Configuration for automatic TLS certificates + properties: + certmanager: + additionalProperties: false + description: Configuration for integrating with cert-manager for certificate + issuing + properties: + clusterissuer: + default: "" + description: Provide a cluster issuer if you want to enable auto-TLS + type: string + type: object + type: object + type: object + version: 1.8.0 From 559391984f6bc33dc5ab9001b322fd40d13c50df Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 20:48:16 +0000 Subject: [PATCH 3/8] Update Knative Eventing metadata and add version 1.8.0 --- .../1.8.0.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 repo/packages/knative-eventing.packages.kadras.io/1.8.0.yml diff --git a/repo/packages/knative-eventing.packages.kadras.io/1.8.0.yml b/repo/packages/knative-eventing.packages.kadras.io/1.8.0.yml new file mode 100644 index 0000000..8daed67 --- /dev/null +++ b/repo/packages/knative-eventing.packages.kadras.io/1.8.0.yml @@ -0,0 +1,45 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: knative-eventing.packages.kadras.io.1.8.0 +spec: + licenses: + - Apache 2.0 + refName: knative-eventing.packages.kadras.io + releaseNotes: https://github.com/knative/eventing/releases + releasedAt: "2022-10-25T20:47:08Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/package-for-knative-eventing@sha256:08a2585fb7c6cc8d862bbaa36050f952bdeb0a5ee0501292cea1dd3148f72f8b + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + default_broker: + additionalProperties: false + description: Configuration for the default in-memory broker + properties: + enabled: + default: false + description: Whether to install the default in-memory broker + type: boolean + namespace: + default: default + description: The namespace where to install the default broker + type: string + type: object + type: object + version: 1.8.0 From ffe0b6d4a8c5a739da33bd82c0b7a2de5f3d76a7 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 20:54:53 +0000 Subject: [PATCH 4/8] Update FluxCD Source Controller metadata and add version 0.31.0 --- .../0.31.0.yml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 repo/packages/fluxcd-source-controller.packages.kadras.io/0.31.0.yml diff --git a/repo/packages/fluxcd-source-controller.packages.kadras.io/0.31.0.yml b/repo/packages/fluxcd-source-controller.packages.kadras.io/0.31.0.yml new file mode 100644 index 0000000..f6e7b7a --- /dev/null +++ b/repo/packages/fluxcd-source-controller.packages.kadras.io/0.31.0.yml @@ -0,0 +1,72 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: fluxcd-source-controller.packages.kadras.io.0.31.0 +spec: + licenses: + - Apache 2.0 + refName: fluxcd-source-controller.packages.kadras.io + releaseNotes: https://github.com/fluxcd/source-controller/releases + releasedAt: "2022-10-25T20:53:27Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/package-for-fluxcd-source-controller@sha256:bfa861d1153cc3136fd52c3daec21d7833a80c8beb881ec5cd9030514ddb3159 + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + namespace: + default: source-system + description: The namespace where to install FluxCD Source Controller + type: string + proxy: + additionalProperties: false + description: Configure proxy support + properties: + http_proxy: + default: "" + description: The HTTP proxy URL + type: string + https_proxy: + default: "" + description: The HTTPS proxy URL + type: string + no_proxy: + default: "" + description: For which domains the proxy should not be used + type: string + type: object + resources: + additionalProperties: false + description: Resource configuration for the source-controller Deployment + properties: + limits: + additionalProperties: false + properties: + cpu: + default: 1000m + type: string + memory: + default: 1Gi + type: string + type: object + type: object + service_port: + default: 80 + description: Port configuration for the source-controller Service + type: integer + type: object + version: 0.31.0 From cfd2e763fc5726df519c33ad761cf808d0d68527 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 21:05:13 +0000 Subject: [PATCH 5/8] Update Argo CD metadata and add version 2.5.0 --- .../argo-cd.packages.kadras.io/2.5.0.yml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 repo/packages/argo-cd.packages.kadras.io/2.5.0.yml diff --git a/repo/packages/argo-cd.packages.kadras.io/2.5.0.yml b/repo/packages/argo-cd.packages.kadras.io/2.5.0.yml new file mode 100644 index 0000000..0f57307 --- /dev/null +++ b/repo/packages/argo-cd.packages.kadras.io/2.5.0.yml @@ -0,0 +1,45 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: argo-cd.packages.kadras.io.2.5.0 +spec: + licenses: + - Apache 2.0 + refName: argo-cd.packages.kadras.io + releaseNotes: https://github.com/argoproj/argo-cd/releases + releasedAt: "2022-10-25T21:03:56Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/package-for-argo-cd@sha256:0176f9b204f1801e8790d9311e11cacbf597e572e77fad7aaa1f1bb07a91be30 + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + namespace: + default: argocd + description: The namespace where to install Argo CD + type: string + service: + additionalProperties: false + description: Service configuration for the Argo CD Server + properties: + type: + default: ClusterIP + description: The Service type for the Argo CD Server + type: string + type: object + type: object + version: 2.5.0 From b9bd819ad7c793063afe5e2326615cc277f0028c Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 21:06:51 +0000 Subject: [PATCH 6/8] Update Kpack Dependencies metadata and add version 0.2.0 --- .../0.2.0.yml | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 repo/packages/kpack-dependencies.packages.kadras.io/0.2.0.yml diff --git a/repo/packages/kpack-dependencies.packages.kadras.io/0.2.0.yml b/repo/packages/kpack-dependencies.packages.kadras.io/0.2.0.yml new file mode 100644 index 0000000..7ddaf09 --- /dev/null +++ b/repo/packages/kpack-dependencies.packages.kadras.io/0.2.0.yml @@ -0,0 +1,34 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: kpack-dependencies.packages.kadras.io.0.2.0 +spec: + refName: kpack-dependencies.packages.kadras.io + releasedAt: "2022-10-25T21:05:46Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/kpack-dependencies@sha256:6b95a9dda1e836a8b976a0be4e1e6f997731d86bea5d245fddbfd25b7b347d32 + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + kp_default_repository: + default: "" + description: The OCI registry where to publish builder images. The same + as configured in kpack. + type: string + type: object + version: 0.2.0 From ed29f5bf5377db4efdcd546755d3f9ea1f126322 Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 25 Oct 2022 21:18:04 +0000 Subject: [PATCH 7/8] Update Kadras Application Platform metadata and add version 0.2.0 --- .../0.2.0.yml | 116 ++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 repo/packages/application-platform.packages.kadras.io/0.2.0.yml diff --git a/repo/packages/application-platform.packages.kadras.io/0.2.0.yml b/repo/packages/application-platform.packages.kadras.io/0.2.0.yml new file mode 100644 index 0000000..ba6f89c --- /dev/null +++ b/repo/packages/application-platform.packages.kadras.io/0.2.0.yml @@ -0,0 +1,116 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: application-platform.packages.kadras.io.0.2.0 +spec: + licenses: + - Apache 2.0 + refName: application-platform.packages.kadras.io + releasedAt: "2022-10-25T21:16:26Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/kadras-application-platform@sha256:80fddca7e4b837a97fc44dfc82cd573facae3ff6450ae633c3a36f112faf9490 + template: + - ytt: + paths: + - config + - kbld: + paths: + - '-' + - .imgpkg/images.yml + valuesSchema: + openAPIv3: + additionalProperties: false + properties: + cartographer: + additionalProperties: false + description: Configuration for Cartographer related packages + properties: + blueprints: + default: {} + description: Configuration for the Cartographer Blueprints package + nullable: true + delivery: + default: {} + description: Configuration for the Cartographer Delivery package + nullable: true + golden_path_web: + default: {} + description: Configuration for the Cartographer Golden Path Web package + nullable: true + type: object + cert_manager: + default: {} + description: Configuration for the Cert Manager package + nullable: true + contour: + default: {} + description: Configuration for the Contour package + nullable: true + conventions: + additionalProperties: false + description: Configuration for Cartographer Conventions related packages + properties: + spring_boot: + default: {} + description: Configuration for the Spring Boot Conventions package + nullable: true + type: object + knative: + additionalProperties: false + description: Configuration for Knative related packages + properties: + serving: + default: {} + description: Configuration for the Knative Serving package + nullable: true + type: object + kpack: + default: + kp_default_repository: "" + description: Configuration for the Kpack package + nullable: true + metrics_server: + default: {} + description: Configuration for the Metrics Server package + nullable: true + namespace_setup: + default: {} + description: Configuration for the Namespace Setup package + nullable: true + packages: + additionalProperties: false + description: Configuration for the platform packages + properties: + exclusions: + default: [] + description: A list of packages to exclude from being installed + items: + default: "" + type: string + type: array + namespace: + default: "" + description: The namespace where to install the platform + type: string + type: object + secretgen_controller: + default: {} + description: Configuration for the Secretgen Controller package + nullable: true + tekton: + additionalProperties: false + description: Configuration for Tekton related packages + properties: + pipelines: + default: {} + description: Configuration for the Tekton Pipelines package + nullable: true + type: object + type: object + version: 0.2.0 From e4e957cdfebce0f03eabe966d416dea42133ea2d Mon Sep 17 00:00:00 2001 From: Thomas Vitale Date: Tue, 25 Oct 2022 23:20:31 +0200 Subject: [PATCH 8/8] Update documentation --- .github/workflows/release.yml | 16 ++++++++-------- README.md | 13 ++++++------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bcdf0ff..ac695a5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ env: COSIGN_EXPERIMENTAL: 1 REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} - VERSION: 0.2.4 + VERSION: 0.3.0 jobs: build: @@ -19,7 +19,7 @@ jobs: image-release: ${{ steps.image-info.outputs.release }} steps: - name: Checkout source code - uses: actions/checkout@v3.0.2 + uses: actions/checkout@v3.1.0 - name: Set up Carvel uses: vmware-tanzu/carvel-setup-action@v1.1.1 @@ -55,7 +55,7 @@ jobs: package_file=repo/package-repository.yml image_release=$(yq '.spec.fetch.imgpkgBundle.image' ${package_file}) echo "IMAGE_RELEASE=${image_release}" >> $GITHUB_ENV - echo "::set-output name=release::${image_release}" + echo "release=${image_release}" >> $GITHUB_OUTPUT - name: Add additional tags to OCI image run: | @@ -83,9 +83,9 @@ jobs: IMAGE_RELEASE: ${{ needs.build.outputs.image-release }} steps: - name: Install Cosign - uses: sigstore/cosign-installer@v2.7.0 + uses: sigstore/cosign-installer@v2.8.1 with: - cosign-release: 'v1.12.1' + cosign-release: 'v1.13.0' - name: Log into container registry uses: redhat-actions/podman-login@v1.4 @@ -110,9 +110,9 @@ jobs: PROVENANCE_FILE: provenance.att steps: - name: Install Cosign - uses: sigstore/cosign-installer@v2.7.0 + uses: sigstore/cosign-installer@v2.8.1 with: - cosign-release: 'v1.12.1' + cosign-release: 'v1.13.0' - name: Log into container registry uses: redhat-actions/podman-login@v1.4 @@ -140,7 +140,7 @@ jobs: jq '.predicate' "${PROVENANCE_FILE}" > provenance-predicate.att cosign attest --predicate provenance-predicate.att --type slsaprovenance "${IMAGE_RELEASE}" - - uses: actions/upload-artifact@v3.1.0 + - uses: actions/upload-artifact@v3.1.1 with: name: provenance.att path: ${{ env.PROVENANCE_FILE }} diff --git a/README.md b/README.md index 38c9f8a..239e6ec 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Kadras Packages -A collection of Kubernetes-native packages based on [Carvel](https://carvel.dev) and part of the Kadras project. +A collection of Kubernetes-native packages built with [Carvel](https://carvel.dev) and part of the Kadras project. ## Package Repository -This repository contains the Carvel packages part of the [Kadras](https://kadras.io) project. +This repository contains the following Carvel packages part of the [Kadras](https://kadras.io) project. | Package | Description | |---------|-------------| @@ -45,7 +45,7 @@ You can install the Kadras package repository in a dedicated namespace using `kc ```shell kubectl create namespace carvel-packages kctrl package repository add -r kadras-repo \ - --url ghcr.io/arktonix/kadras-packages:0.2.4 \ + --url ghcr.io/arktonix/kadras-packages:0.3.0 \ -n carvel-packages ``` @@ -87,11 +87,10 @@ You can find more documentation about Carvel package management at [carvel.dev]( ## References -This package repository is based on and inspired by the work done by the Carvel team and the -Tanzu Community Edition project. +This package repository is inspired by the work done by the Carvel team and the +[Tanzu Community Edition](https://github.com/vmware-tanzu/community-edition) project (now retired). -* [Kubernetes native package management with Carvel](https://carvel.dev/kapp-controller/docs/latest/packaging) -* [Tanzu Community Edition, an open-source Kubernetes platform](https://tanzucommunityedition.io) +Learn more about [Kubernetes-native package management with Carvel](https://carvel.dev/kapp-controller/docs/latest/packaging). ## Supply Chain Security