Commit Graph
3570 Commits
Author SHA1 Message Date
Pinny d5ae3da893 Bump go.mod direct dependencies 2023-11-09 09:02:31 +00:00
Ryan RichardandGitHub 80d5f42b57 Merge pull request #1701 from vmware-tanzu/ben/carvel-package/local-registry
Carvel Package POC for local development
2023-11-08 14:49:32 -08:00
Ryan RichardandBenjamin A. Petersen d5aa682cbc Fix a comment
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
2023-11-08 13:56:11 -08:00
Ryan RichardandBenjamin A. Petersen b61557d3c3 Auto-format build.sh and deploy.sh
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
2023-11-08 13:45:48 -08:00
Ryan Richard d4e2622ea8 Revert "Rearrange carvel build & deploy scripts"
This reverts commit 9a632134ae.
2023-11-08 13:38:22 -08:00
Ryan RichardandBenjamin A. Petersen 88a97033fb Refined ytt schemas
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
2023-11-08 13:37:31 -08:00
Benjamin A. PetersenandRyan Richard c4f9869e7c Relax image_pull_dockerconfigjson validation, improve endpoints
validation
2023-11-08 13:10:20 -08:00
Benjamin A. PetersenandRyan Richard c455a17abe Adjust validation for run_as_user,run_as_group 2023-11-08 13:10:20 -08:00
Benjamin A. PetersenandRyan Richard 9a632134ae Rearrange carvel build & deploy scripts 2023-11-08 13:10:20 -08:00
Benjamin A. PetersenandRyan Richard 1b540181a7 Adjust types on some supervisor validations 2023-11-08 13:10:19 -08:00
Benjamin A. PetersenandRyan Richard 1f8aa6c262 import helpers in kind-down.sh 2023-11-08 13:10:19 -08:00
Benjamin A. PetersenandRyan Richard 46bea27cb7 no_proxy adjustment for concierge 2023-11-08 13:10:19 -08:00
Benjamin A. PetersenandRyan Richard 98bd12241d extract helpers to lib file and use in various hack scripts 2023-11-08 13:10:19 -08:00
Benjamin A. PetersenandRyan Richard c3410c4b14 improve custom_labels validation func 2023-11-08 13:10:19 -08:00
Benjamin A. PetersenandRyan Richard 1e9f9181a1 Enhance schemas with validations, etc.
Co-authored-by: Ryan Richard <richardry@vmware.com>
2023-11-08 13:10:19 -08:00
Ryan Richard 07e9c5bd93 refactor carvel packaing scripts 2023-11-08 13:10:19 -08:00
Benjamin A. PetersenandRyan Richard e10d21d678 Support Carvel Package as alternate deployment mechanism
- update kind config to include local registry
- configure kind cluster to talk to local registry
- docker build & push pinniped dev code to local registry
- deploy dev code of the following via the local registry:
  - concierge
  - supervisor
  - local-user-authenticator
- Update values.yaml for supervisor,concierge to schema files
- Update values.yaml for local-user-authenticator to schema file
- Add ytt openapi-v3 generation to build carvel package script
- Add supervisor carvel package files
- Add concierge carvel package files
- Add local-user-authenticator carvel package files
- Add hack script to build openapi-v3 files
- add --post-install to hack/prepare-for-integration-tests.sh
- cleanup local registry in kind-down.sh
- webhook_ca_bundle moved in hack script
- adjust were to call post-install script
- deploy/{}/values.yml image_pull_dockerconfigjson type change to base64 string
- Add PINNIPED_USE_LOCAL_KIND_REGISTRY env var
 - ensures regular use of hack/prepare-for-integration-tests.sh
  - PINNIPED_USE_LOCAL_KIND_REGISTRY=1  ./hack/prepare-for-integration-tests.sh --clean --alternate-deploy ./hack/noop.sh --post-install ./hack/build-carvel-packages.sh
  - ./hack/prepare-for-integration-tests.sh --clean
- if PINNIPED_USE_LOCAL_KIND_REGISTRY for kind-down.sh in hack/prepare-for-integration-tests.sh
- Split carvel build & deploy scripts, add --pre-install flag
  - add pre-install flag to hack/prepare-for-integration-tests.sh
  - split /hack/build-carvel-packages.sh and
    /hack/deploy-carvel-packages.sh
- Remove --alternate-deploy-* flags from hack script
- Move scripts to hack/lib/carvel_packages
- Split build.sh deploy.sh
- Separate template files from install artifacts
- Generate all install artifacts in $root/deploy_carvel
  - remove $root/deploy_carvel from git
- Extract ytt values to file in hack/prepare-for-integration-tests.sh
- pass registry/repo to carvel build scripts
2023-11-08 13:10:19 -08:00
Joshua CaseyandGitHub e3d9eb7d82 Merge pull request #1767 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-11-08 10:59:48 -06:00
Joshua Casey 97f6e8a07b Bump golang to 1.21.4 in the Dockerfiles 2023-11-08 10:09:42 -06:00
Pinny 865ef8d447 Bump go.mod direct dependencies 2023-11-08 09:02:18 +00:00
Joshua CaseyandGitHub 0a342a803c Merge pull request #1763 from vmware-tanzu/dependabot/go_modules/hack/update-go-mod/golang.org/x/mod-0.14.0
Bump golang.org/x/mod from 0.13.0 to 0.14.0 in /hack/update-go-mod
2023-11-06 08:11:27 -06:00
Joshua CaseyandGitHub 120b35a617 Merge pull request #1755 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-11-05 21:39:23 -06:00
Joshua Casey 3f92a546df Unit test fixes 2023-11-05 20:53:12 -06:00
dependabot[bot]andGitHub 132e39c8fd Bump golang.org/x/mod from 0.13.0 to 0.14.0 in /hack/update-go-mod
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/mod/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-06 01:50:23 +00:00
Pinny 634654578f Bump go.mod direct dependencies 2023-11-05 08:05:08 +00:00
Joshua CaseyandGitHub 18f95d3d1e Merge pull request #1751 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-11-02 22:10:27 -05:00
Joshua Casey b38723ece2 Integration test fixes 2023-11-02 15:31:50 -05:00
Joshua CaseyandRyan Richard bf1366412a Unit test fixes
Co-authored-by: Joshua Casey <joshuatcasey@gmail.com>
Co-authored-by: Ryan Richard <richardry@vmware.com>
2023-11-02 14:17:29 -05:00
PinnyandJoshua Casey a6f7e05d3d Bump go.mod direct dependencies 2023-11-02 14:17:29 -05:00
Ryan RichardandGitHub 660b155eaa Merge pull request #1752 from vmware-tanzu/upgrade-linter
Upgrade the linter to golangci-lint@v1.55.1
2023-11-02 10:56:03 -07:00
Ryan Richard 29e939db7f Upgrade the linter to golangci-lint@v1.55.1
The unused-parameter linter became stricter, so we adjust it to
allow unused params that start with underscore. It can be nice to keep
unused param names when implementing an interface sometimes, to help
readers understand why it is unused in that particular implementation.
2023-11-02 09:54:16 -07:00
Joshua CaseyandGitHub 3c2d921300 Merge pull request #1748 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-31 08:45:55 -05:00
Pinny d1e5a9aff3 Bump go.mod direct dependencies 2023-10-31 08:02:22 +00:00
Ryan RichardandGitHub 54d4879c69 Merge pull request #1742 from vmware-tanzu/idp_chooser_ui
show interstitial web page to allow user to choose IDP when multiple IDPs are configured and authorize endpoint query param to choose IDP is not used
2023-10-30 15:32:57 -07:00
Joshua CaseyandGitHub 78aa45a970 Merge pull request #1741 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-30 17:10:06 -05:00
Joshua Casey 3c33c59aa9 Update unit tests 2023-10-30 15:40:17 -05:00
PinnyandJoshua Casey b9b4d31c6b Bump go.mod direct dependencies 2023-10-30 15:40:17 -05:00
Ryan Richard 0501159ac0 Show an IDP chooser UI when appropriate from authorize endpoint 2023-10-30 11:05:53 -07:00
Ryan RichardandGitHub 779b084b53 Merge pull request #1738 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-25 08:51:52 -07:00
Pinny f90f2334ba Bump go.mod direct dependencies 2023-10-25 08:00:49 +00:00
Ryan RichardandGitHub a8c35c6f7e Merge pull request #1735 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-23 09:08:51 -07:00
Pinny ced08aeaf7 Bump go.mod direct dependencies 2023-10-23 08:02:12 +00:00
Joshua CaseyandGitHub 9c5bc763ac Merge pull request #1734 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-20 06:49:44 -05:00
Pinny dd0039e94c Bump go.mod direct dependencies 2023-10-20 08:01:23 +00:00
Joshua CaseyandGitHub 9d836c789f Merge pull request #1732 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-19 08:46:45 -05:00
Pinny ef291bb790 Bump go.mod direct dependencies 2023-10-19 08:02:18 +00:00
Ryan RichardandGitHub d4e3cf51b7 Merge pull request #1721 from vmware-tanzu/pinny/bump-deps
Bump go.mod direct dependencies
2023-10-18 14:45:12 -07:00
Ryan Richard 247123965e run codegen again 2023-10-18 12:47:43 -07:00
Joshua CaseyandRyan Richard 097a1ac3d3 Run k8s codegen 2023-10-18 09:23:55 -07:00
Joshua Casey ec532f622f Bump golang to 1.21.3 in Dockerfiles 2023-10-16 08:28:13 -05:00