Ryan Richard
5f4645d505
Improve unit tests in tokenclient_test.go
...
Also fix a linter error and rename some new files.
2023-11-30 13:29:52 -08:00
Joshua Casey
c439cc03a2
WIP for a tokenClient.Start() unit test
2023-11-30 09:57:57 -08:00
Joshua Casey
2603bbfcd6
Do not use long-lived service account tokens in secrets
...
Co-authored-by: Ryan Richard <richardry@vmware.com >
2023-11-30 09:57:57 -08:00
Ryan Richard
dc1d563549
Merge pull request #1793 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2023-11-29 12:58:38 -08:00
Pinny
416a66f68a
Bump dependencies
2023-11-29 09:02:04 +00:00
Joshua Casey
8f2da915aa
Merge pull request #1791 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2023-11-17 14:00:05 -06:00
Pinny
aad74158ba
Bump dependencies
2023-11-17 09:02:40 +00:00
Joshua Casey
98dde187bb
Merge pull request #1788 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2023-11-16 12:14:21 -06:00
Joshua Casey
ab71450c69
Use correct reference for pinned dependencies
2023-11-16 09:08:42 -08:00
Pinny
a4789e2b2c
Bump dependencies
2023-11-16 17:07:36 +00:00
Ryan Richard
1c2829a326
Merge pull request #1779 from vmware-tanzu/pinny/bump-deps
...
Bump dependencies
2023-11-15 15:54:45 -08:00
Pinny
9be8cd40d2
Bump dependencies
2023-11-15 15:02:54 -08:00
Ryan Richard
90a3538806
Merge pull request #1780 from vmware-tanzu/jtc/lightly-standardize-import-aliases
...
Lightly standardize import aliases
2023-11-15 15:02:01 -08:00
Joshua Casey
b68e7f3e9e
Lightly standardize import aliases
2023-11-15 13:52:17 -06:00
Ben Petersen
4f15fc2123
Merge pull request #1776 from vmware-tanzu/ben/dockerfile-image-args
...
Make Dockerfile base images configurable
2023-11-15 14:33:50 -05:00
Benjamin A. Petersen
2bc6c15d25
Make Dockerfile base images configurable
2023-11-15 14:32:48 -05:00
Joshua Casey
a740fb34c5
Merge pull request #1775 from vmware-tanzu/pinny/bump-deps
...
Bump go.mod direct dependencies
2023-11-15 08:54:00 -06:00
Pinny
be1416b7b5
Bump go.mod direct dependencies
2023-11-15 09:02:22 +00:00
Ryan Richard
aad8dc50e7
Merge pull request #1774 from vmware-tanzu/whoami_timeout
...
Infinite default timeout for WhoAmI API call and add `--timeout` CLI flag
2023-11-14 14:02:42 -08:00
Ryan Richard
47f6de58c3
Infinite default timeout for WhoAmI API call & add --timeout CLI flag
2023-11-14 09:40:03 -08:00
Joshua Casey
61c630caf0
Merge pull request #1772 from vmware-tanzu/pinny/bump-deps
...
Bump go.mod direct dependencies
2023-11-13 11:04:37 -06:00
Pinny
2985d55edf
Bump go.mod direct dependencies
2023-11-13 09:04:06 +00:00
Joshua Casey
4f794571a2
Merge pull request #1771 from vmware-tanzu/pinny/bump-deps
...
Bump go.mod direct dependencies
2023-11-09 08:45:28 -06:00
Pinny
d5ae3da893
Bump go.mod direct dependencies
2023-11-09 09:02:31 +00:00
Ryan Richard
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 Richard
d5aa682cbc
Fix a comment
...
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2023-11-08 13:56:11 -08:00
Ryan Richard
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 Richard
88a97033fb
Refined ytt schemas
...
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me >
2023-11-08 13:37:31 -08:00
Benjamin A. Petersen
c4f9869e7c
Relax image_pull_dockerconfigjson validation, improve endpoints
...
validation
2023-11-08 13:10:20 -08:00
Benjamin A. Petersen
c455a17abe
Adjust validation for run_as_user,run_as_group
2023-11-08 13:10:20 -08:00
Benjamin A. Petersen
9a632134ae
Rearrange carvel build & deploy scripts
2023-11-08 13:10:20 -08:00
Benjamin A. Petersen
1b540181a7
Adjust types on some supervisor validations
2023-11-08 13:10:19 -08:00
Benjamin A. Petersen
1f8aa6c262
import helpers in kind-down.sh
2023-11-08 13:10:19 -08:00
Benjamin A. Petersen
46bea27cb7
no_proxy adjustment for concierge
2023-11-08 13:10:19 -08:00
Benjamin A. Petersen
98bd12241d
extract helpers to lib file and use in various hack scripts
2023-11-08 13:10:19 -08:00
Benjamin A. Petersen
c3410c4b14
improve custom_labels validation func
2023-11-08 13:10:19 -08:00
Benjamin A. Petersen
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. Petersen
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 Casey
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 Casey
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 Casey
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]
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 Casey
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