diff --git a/packages/tanzu-java-web-app.tanzu.vmware.com/package.yaml b/packages/tanzu-java-web-app.tanzu.vmware.com/package.yaml new file mode 100644 index 0000000..f79fd35 --- /dev/null +++ b/packages/tanzu-java-web-app.tanzu.vmware.com/package.yaml @@ -0,0 +1,129 @@ +apiVersion: data.packaging.carvel.dev/v1alpha1 +kind: Package +metadata: + name: tanzu-java-web-app.tanzu.vmware.com.20260310171016.0.0 +spec: + refName: tanzu-java-web-app.tanzu.vmware.com + version: 20260310171016.0.0 + releaseNotes: | + Release v20260310171016.0.0 of package tanzu-java-web-app.tanzu.vmware.com + template: + spec: + fetch: + - imgpkgBundle: + image: supply-chain-docker-dev-local.usw1.packages.broadcom.com/supply-chain-repository/tanzu-java-web-app-bundle@sha256:e5807be0011b087c4561327597954ecafb3f4844eb7b6a417738429d7a9b9fe7 + template: + - ytt: + paths: + - . + - kbld: + paths: + - .imgpkg/images.yml + - '-' + deploy: + - kapp: {} + valuesSchema: + openAPIv3: + type: object + additionalProperties: false + properties: + workload_name: + type: string + description: Used to generate resource names for HttpRoute and Ingress objects. + default: tanzu-java-web-app + minLength: 1 + replicas: + type: integer + nullable: true + description: Overrides the default Deployment.spec.replicas set by the Supply Chain. + default: null + strategy: + nullable: true + description: Overrides the default Deployment.spec.strategy set by the Supply Chain. + default: null + livenessProbe: + nullable: true + description: Overrides the default Deployment.spec.containers[0].livenessProbe set by the Supply Chain. + default: null + readinessProbe: + nullable: true + description: Overrides the default Deployment.spec.containers[0].readinessProbe set by the Supply Chain. + default: null + resources: + nullable: true + description: Overrides the default Deployment.spec.containers[0].resources set by the Supply Chain. + default: null + env: + type: array + description: Merges with the default Deployment.spec.containers[0].env set by the Supply Chain. If there is a conflict, the value set here will be used. + items: + type: object + additionalProperties: false + properties: + name: + type: string + default: "" + value: + type: string + default: "" + default: [] + securityContext: + nullable: true + description: Overrides the default Deployment.spec.containers[0].securityContext set by the Supply Chain. + default: null + port: + type: integer + description: Sets the Port for the backend referenced by the Ingress or HttpRoute object. + default: 8080 + hostname: + type: string + description: Sets the Host for the Ingress object (class=contour). If unset, no Ingress will be created. + default: "" + cluster_issuer: + type: string + description: Sets the CertManager ClusterIssuer for the Ingress object. + default: tap-ingress-selfsigned + http_route: + type: object + additionalProperties: false + nullable: true + description: Sets the ParentRefs for the HttpRoute object. If set to null, no HttpRoute will be created. + properties: + gateways: + type: array + items: + type: object + additionalProperties: false + properties: + protocol: + type: string + default: "" + name: + type: string + default: "" + default: + - protocol: https + name: default-gateway + service: + title: Service + type: object + additionalProperties: false + nullable: true + properties: + ports: + title: Overrides the default Service.spec.ports set by the Supply Chain. + type: array + items: + type: object + additionalProperties: false + properties: + name: + type: string + default: http + port: + type: integer + default: 8080 + targetPort: + type: integer + default: 8080 + default: [] diff --git a/packages/tanzu-java-web-app.tanzu.vmware.com/packageinstall.yaml b/packages/tanzu-java-web-app.tanzu.vmware.com/packageinstall.yaml new file mode 100644 index 0000000..0d9f275 --- /dev/null +++ b/packages/tanzu-java-web-app.tanzu.vmware.com/packageinstall.yaml @@ -0,0 +1,14 @@ +apiVersion: packaging.carvel.dev/v1alpha1 +kind: PackageInstall +metadata: + name: tanzu-java-web-app.tanzu.vmware.com-pkgi +spec: + packageRef: + refName: tanzu-java-web-app.tanzu.vmware.com + versionSelection: + constraints: 20260310171016.0.0 + prereleases: {} + serviceAccountName: default + values: + - secretRef: + name: tanzu-java-web-app.tanzu.vmware.com-values diff --git a/packages/tanzu-java-web-app.tanzu.vmware.com/values.yaml b/packages/tanzu-java-web-app.tanzu.vmware.com/values.yaml new file mode 100644 index 0000000..6b1da2e --- /dev/null +++ b/packages/tanzu-java-web-app.tanzu.vmware.com/values.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: v1 +kind: Secret +metadata: + name: tanzu-java-web-app.tanzu.vmware.com-values +stringData: + values.yml: | + --- + # workload_name: example