Benjamin A. Petersen
8dfac21eb8
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
2023-10-20 12:36:26 -04:00
Benjamin A. Petersen
0352717153
Adjust /etc/hosts message for local registry (if line not found)
2023-10-19 15:28:14 -04:00
Benjamin A. Petersen
d803b7c3d4
simplify env vars again, create one well known /tmp/integration-test-env file again
2023-10-19 15:28:08 -04:00
Benjamin A. Petersen
050750d682
Add TODO for /etc/hosts
2023-10-16 14:12:10 -04:00
Benjamin A. Petersen
106edd4868
Add comments to build files
2023-10-12 16:58:43 -04:00
Benjamin A. Petersen
86a25246dd
Tweak hack scripts for carvel package usage
2023-10-12 13:31:50 -04:00
Benjamin A. Petersen
4bbd6312c5
Update hack scripts to support fresh /tmp/pinniped-XXX env files on every run
2023-10-12 11:24:19 -04:00
Benjamin A. Petersen
8e430c8e77
remove dead code
2023-10-11 17:09:46 -04:00
Benjamin A. Petersen
b091b41b8d
todo: test user changes need to be addressed
2023-10-11 16:07:25 -04:00
Benjamin A. Petersen
1a143f9720
adjust variables in hack/prepare-for-integration-tests.sh
2023-10-11 12:49:47 -04:00
Benjamin A. Petersen
f2b5d568d9
improve cleanup of carvel package artifacts
2023-10-11 12:09:04 -04:00
Benjamin A. Petersen
f521917b5e
adjust were to call post-install script
2023-10-10 17:22:37 -04:00
Benjamin A. Petersen
4b5e869a5e
webhook_ca_bundle moved in hack script
2023-10-10 16:25:37 -04:00
Benjamin A. Petersen
231870582e
cleanup local registry in kind-down.sh
2023-10-10 16:25:36 -04:00
Benjamin A. Petersen
740463bba7
add vars back to prepare-for-integration-tests script
2023-10-10 16:25:36 -04:00
Benjamin A. Petersen
e6707ca448
Adjust outputs from build-carvel-package, remove old files
2023-10-10 16:25:36 -04:00
Benjamin A. Petersen
cb6d299156
Fix prepare-for-integration-tests.sh with carvel packages
2023-10-10 16:25:36 -04:00
Joshua Casey
de1bbde2cc
Use vendir sync instead of cp to sync the deploy manifests
2023-10-10 16:25:36 -04:00
Benjamin A. Petersen
0f0d9927c0
WIP: carvel package-repository & package files, package-install in scripts
2023-10-10 16:25:35 -04:00
Benjamin A. Petersen
530ce433ac
add --post-install to hack/prepare-for-integration-tests.sh
2023-10-10 16:25:35 -04:00
Benjamin A. Petersen
ff09b61364
generate .imgpkg/images.yml files for carvel packages
2023-10-10 16:25:35 -04:00
Benjamin A. Petersen
7950dc4cdb
Add hack script to build openapi-v3 files
2023-10-10 16:25:35 -04:00
Benjamin A. Petersen
0ce54bb2f3
add kind-registry.local:5000 to kind cluster
...
- 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
2023-10-10 16:23:59 -04:00
Ryan Richard
13f0b5e782
Update kube versions for codegen
2023-10-09 15:18:15 -07:00
Joshua Casey
1409f236da
Bump dockerfiles to golang:1.21.2
2023-10-09 09:28:27 -05:00
Joshua Casey
0cca3a12e6
Update hack/update-go-mod/go.mod
2023-10-09 09:27:57 -05:00
Ryan Richard
776e436e35
Support building and deploying multi-arch linux amd64 and arm64 images
2023-10-04 08:55:26 -07:00
Ryan Richard
62c597eb3b
Show errors from the form_post POST request on the page
2023-10-02 09:53:53 -07:00
Ryan Richard
0ab6311cf5
Optionally use Contour in hack/prepare-supervisor-on-kind.sh
...
Using Contour for ingress allows us to avoid using the hacky proxy
server approach. This makes it easy to use any web browser to complete
the login process, since there is no need to configure the proxy server
for the browser.
2023-09-27 12:32:49 -07:00
Ryan Richard
edc5f3fc15
update kube-versions.txt for codegen
2023-09-14 13:01:46 -07:00
Ryan Richard
c52ed93bf8
make prepare-supervisor-on-kind.sh work with older versions of bash
2023-09-12 10:24:55 -07:00
Ryan Richard
8faf3b0e26
add workaround in update-codegen.sh for problem seen when run on linux
2023-09-11 13:07:05 -07:00
Ryan Richard
e2bdab9e2d
add the IDP display name to the downstream ID token's sub
claim
...
To make the subject of the downstream ID token more unique when
there are multiple IDPs. It is possible to define two IDPs in a
FederationDomain using the same identity provider CR, in which
case the only thing that would make the subject claim different
is adding the IDP display name into the values of the subject claim.
2023-09-11 11:15:40 -07:00
Ryan Richard
b05e8a5e24
Replace sleep with kubectl wait in prepare-supervisor-on-kind.sh
...
- Now that the FederationDomain has `status.conditions`, we can use
`kubectl wait` to wait for it to be ready in this hack script
2023-09-11 11:14:05 -07:00
Ryan Richard
98ee9f0979
escape semicolons in variable values in integration-test-env-goland.sh
...
Co-authored-by: Benjamin A. Petersen <ben@benjaminapetersen.me>
2023-09-11 11:11:56 -07:00
Ryan Richard
7af75dfe3c
First draft of implementation of multiple IDPs support
2023-09-11 11:09:49 -07:00
Joshua Casey
1bab4ccdb7
Bump to go1.20.1
2023-09-10 19:35:31 -05:00
Joshua Casey
5effb1a89b
Bump to golang 1.21.0, and bump all golang deps
2023-09-06 14:52:01 -05:00
Benjamin A. Petersen
fd1936c45f
Improve hack/prepare-for-integration-tests.sh flexibility
...
- move pushd/popd inside if statements for alternative-deploy methods
- add specific alternative-deploy vars for individual components
- supervisor
- concierge
- local-user-authenticator
while preserving the current alternative-deploy for all three
- doc that equals for flags does not work
--foo=bar is invalid
--foo bar is valid
2023-08-31 15:02:24 -04:00
Joshua Casey
23bd3e7cc9
Do not fail hack/prepare-for-integration-tests.sh without KUBE_GIT_VERSION
2023-08-29 19:58:23 -05:00
Joshua Casey
7cda8f4123
Do not fail when KUBE_GIT_VERSION is not set
2023-08-29 17:31:22 -05:00
Joshua Casey
76933f69b9
Update comments to indicate support for newer versions of Kubernetes
2023-08-29 15:40:52 -05:00
Joshua Casey
5c9d26baeb
Remove generated code for K8s 1.17, 1.18, 1.19, and 1.20
...
- Kind 0.20.0 supports 1.21 through 1.28 (inclusive)
- https://github.com/kubernetes-sigs/kind/releases/tag/v0.20.0
2023-08-28 16:56:32 -05:00
Joshua Casey
38230fc518
Use pversion to retrieve buildtime information
2023-08-28 11:54:27 -05:00
Joshua Casey
dfd3d5075d
Ensure that kubegenerator scripts are executable
2023-08-28 10:50:11 -05:00
Joshua Casey
ccba159639
Update all golang dependencies, especially k8s.io (for 1.28)
2023-08-28 10:50:10 -05:00
Joshua Casey
8dec84b3b2
Bump golang to 1.20.7
2023-08-03 13:39:51 -05:00
Ryan Richard
4512eeca9a
Replace agouti and chromedriver with chromedp across the whole project
2023-08-01 11:27:09 -07:00
Joshua Casey
89b7007694
Bump K8s APIs 1.24 through 1.27
2023-07-21 10:36:18 -05:00
Joshua Casey
38c281331a
Bump base images to go1.20.6 in Dockerfiles
2023-07-19 13:25:57 -05:00