diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fe730a6..4e9b715 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.1.1 + VERSION: 0.1.2 jobs: build: @@ -33,11 +33,15 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} registry: ${{ env.REGISTRY }} - - name: Create kind cluster - uses: helm/kind-action@v1.4.0 - with: - cluster_name: carvel-test - kubectl_version: v1.25.2 + - name: Create k3d cluster + run: | + brew install k3d + k3d cluster create test-cluster + + # Wait for the generation of a token for the Service Account + while [ $(kubectl get configmap kube-root-ca.crt --no-headers | wc -l) -eq 0 ] ; do + sleep 3 + done - name: Package and publish OCI bundle run: | diff --git a/README.md b/README.md index 5d74675..e4931b0 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ The following packages are maintained by the [Arktonix](https://github.com/arkto * [argo-cd](https://github.com/arktonix/package-for-argo-cd) * [knative-eventing](https://github.com/arktonix/package-for-knative-eventing) +* [knative-serving](https://github.com/arktonix/package-for-knative-serving) It also includes the following open-source packages maintained by the [VMware Tanzu](https://github.com/vmware-tanzu) organization: @@ -38,7 +39,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.1.1 \ + --url ghcr.io/arktonix/kadras-packages:0.1.2 \ -n carvel-packages ``` @@ -78,11 +79,13 @@ kctrl package repository update -r kadras-repo \ You can find more documentation about Carvel package management at [carvel.dev](https://carvel.dev/kapp-controller/docs/latest/packaging). -## References and inspiration +## References + +This package repository is based on and inspired by the work done by the Carvel team and the +Tanzu Community Edition project. * [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) -* [An example of package repository for installing the Tanzu Application Platform OSS stack](https://github.com/vrabbi/tap-oss) ## Supply Chain Security diff --git a/repo/packages/knative-serving.packages.kadras.io/1.7.1.yml b/repo/packages/knative-serving.packages.kadras.io/1.7.1.yml new file mode 100644 index 0000000..a779aab --- /dev/null +++ b/repo/packages/knative-serving.packages.kadras.io/1.7.1.yml @@ -0,0 +1,122 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + creationTimestamp: null + name: knative-serving.packages.kadras.io.1.7.1 +spec: + licenses: + - Apache 2.0 + refName: knative-serving.packages.kadras.io + releaseNotes: https://github.com/knative/serving/releases + releasedAt: "2022-09-25T09:11:21Z" + template: + spec: + deploy: + - kapp: {} + fetch: + - imgpkgBundle: + image: ghcr.io/arktonix/package-for-knative-serving@sha256:dd95399d9bd8add0ca45f4e4a54b8174a300c2c19804a9f56fc08233eff67eef + 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.7.1 diff --git a/repo/packages/knative-serving.packages.kadras.io/metadata.yml b/repo/packages/knative-serving.packages.kadras.io/metadata.yml new file mode 100644 index 0000000..42139d3 --- /dev/null +++ b/repo/packages/knative-serving.packages.kadras.io/metadata.yml @@ -0,0 +1,16 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: PackageMetadata +metadata: + creationTimestamp: null + name: knative-serving.packages.kadras.io +spec: + categories: + - serverless + - deployment + displayName: knative-serving + longDescription: Knative Serving builds on Kubernetes to support deploying and serving + of applications and functions as serverless containers + maintainers: + - name: Thomas Vitale + providerName: Arktonix + shortDescription: Serverless platform on Kubernetes