diff --git a/deploy_carvel/concierge/README.md b/deploy_carvel/concierge/README.md index b22f18a6..fcca81c3 100644 --- a/deploy_carvel/concierge/README.md +++ b/deploy_carvel/concierge/README.md @@ -1,3 +1,7 @@ -# README +# Pinniped Concierge Deployment + +See [the how-to guide for details](https://pinniped.dev/docs/howto/concierge/). + +## In this directory: - the ./config symlink points to /deploy/concierge diff --git a/deploy_carvel/concierge/build.yml b/deploy_carvel/concierge/build.yml new file mode 100644 index 00000000..dfff2974 --- /dev/null +++ b/deploy_carvel/concierge/build.yml @@ -0,0 +1,4 @@ +apiVersion: kbld.k14s.io/v1alpha1 +kind: Config +minimumRequiredVersion: 0.31.0 +overrides: diff --git a/deploy_carvel/concierge/metadata.yml b/deploy_carvel/concierge/metadata.yml new file mode 100644 index 00000000..f310bb31 --- /dev/null +++ b/deploy_carvel/concierge/metadata.yml @@ -0,0 +1,10 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: PackageMetadata +metadata: + name: concierge.pinniped.dev +spec: + displayName: "Pinniped Concierge" + longDescription: "Pinniped concierge enables consistent login across Kubernetes clusters on public cloud providers such as AKS, EKS and GKE" + shortDescription: "Pinniped concierge enables consistent login across public clouds" + categories: + - auth diff --git a/deploy_carvel/concierge/package-template.yml b/deploy_carvel/concierge/package-template.yml new file mode 100644 index 00000000..4fe974c7 --- /dev/null +++ b/deploy_carvel/concierge/package-template.yml @@ -0,0 +1,29 @@ +#@ load("@ytt:data", "data") # for reading data values (generated via ytt's data-values-schema-inspect mode). +#@ load("@ytt:yaml", "yaml") # for dynamically decoding the output of ytt's data-values-schema-inspect +--- +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + name: #@ "concierge.pinniped.dev." + data.values.version +spec: + refName: concierge.pinniped.dev + version: #@ data.values.version + releaseNotes: | + Initial release of the pinniped concierge package, TODO: AUTOMATE THIS?? + valuesSchema: + openAPIv3: #@ yaml.decode(data.values.openapi)["components"]["schemas"]["dataValues"] + template: + spec: + fetch: + - imgpkgBundle: + image: #@ "${REPO_HOST}/packages/pinniped-concierge:" + data.values.version + template: + - ytt: + paths: + - "config/" + - kbld: + paths: + - ".imgpkg/images.yml" + - "-" + deploy: + - kapp: {} diff --git a/deploy_carvel/concierge/schema-openapi.yaml b/deploy_carvel/concierge/schema-openapi.yml similarity index 100% rename from deploy_carvel/concierge/schema-openapi.yaml rename to deploy_carvel/concierge/schema-openapi.yml