Jason van Zyl
782157e1df
Remove debug output
2022-02-25 06:25:20 -05:00
Jason van Zyl
1e3f3555a4
Add line in help output for --alternate-deploy
2022-02-25 06:22:25 -05:00
Jason van Zyl
6491742c3a
Minimal changes to allow an alternate deployment mechanism
...
The purpose of this change is to allow Helm to be used to deploy Pinniped
into the local KinD cluster for the local integration tests. That said,
the change allows any alternate deployment mechanism, I just happen
to be using it with Helm.
All default behavior is preserved. This won't change how anyone uses the
script today, it just allows me not to copy/paste the whole setup for the
integration tests.
Changes:
1) An option called `--alternate-deploy <path-to-deploy-script>` has been
added, that when enabled calls the specified script instead of using ytt
and kapp. The alternate deploy script is called with the app to deploy
and the tag of the docker image to use. We set the default value of
the alternate_deploy variable to undefined, and there is a check that
tests if the alternate deploy is defined. For the superivsor it looks
like this:
```
if [ "$alternate_deploy" != "undefined" ]; then
log_note "The Pinniped Supervisor will be deployed with $alternate_deploy pinniped-supervisor $tag..."
$alternate_deploy pinniped-supervisor $tag
else
normal ytt/kapp deploy
fi
```
2) Additional log_note entries have been added to enumerate all values passed
into the ytt/kapp deploy. Used while I was trying to reach parity in the integration
tests, but I think they are useful for debugging.
3) The manifests produced by ytt and written to /tmp are now named individually.
This is so an easy comparison can be made between manifests produced by a ytt/kapp
run of integration tests and manifests produced by helm run of the integration tests.
If something is not working I have been comparing the manifests after these runs to
find differences.
2022-02-20 10:15:29 -05:00
Margo Crawford
339bb84765
Merge pull request #982 from vmware-tanzu/upstream-ldap-group-refresh-skip
...
Only run group refresh when the skipGroupRefresh boolean isn't set
2022-02-17 13:59:07 -08:00
Margo Crawford
b9582f864e
Update comment for skipGroupRefresh
2022-02-17 12:50:28 -08:00
Margo Crawford
e2c6dcd6e6
Add integration test
2022-02-17 12:50:28 -08:00
Margo Crawford
fdac4d16f0
Only run group refresh when the skipGroupRefresh boolean isn't set
...
for AD and LDAP
2022-02-17 12:50:28 -08:00
Ryan Richard
67085e9dbb
Merge pull request #973 from vmware-tanzu/proposal_process
...
Introduce a proposal process in the governance doc
2022-02-17 12:49:23 -08:00
Ryan Richard
dec89b5378
Merge branch 'main' into proposal_process
2022-02-17 12:48:58 -08:00
Margo Crawford
c7aaa69b4b
Merge pull request #975 from vmware-tanzu/upstream-ldap-group-refresh
...
Inline upstream ldap group refresh
2022-02-17 12:47:22 -08:00
Margo Crawford
662f2cef9c
Integration test for updating group search base
...
Also a small change to a comment
2022-02-17 11:29:59 -08:00
Margo Crawford
ca523b1f20
Always update groups even if it's nil
...
Also de-dup groups and various small formatting changes
2022-02-17 11:29:59 -08:00
Margo Crawford
c28602f275
Add unit tests for group parsing overrides
2022-02-17 11:29:59 -08:00
Margo Crawford
dd11c02b6a
Add back entries because I think it's actually necessary
2022-02-17 11:29:59 -08:00
Margo Crawford
f890fad90c
Rename a function, sort strings inside searchGroupsForUserDN
2022-02-17 11:29:59 -08:00
Margo Crawford
cd7538861a
Add integration test where we don't get groups back
2022-02-17 11:29:59 -08:00
Margo Crawford
013b521838
Upstream ldap group refresh:
...
- Doing it inline on the refresh request
2022-02-17 11:29:59 -08:00
Ryan Richard
9526009f74
Fix spelling typo in proposals/README.md
...
Co-authored-by: Mo Khan <i@monis.app>
2022-02-17 10:59:23 -08:00
Ryan Richard
2f7713889a
Remove an unnecessary step from the proposal lifecycle
2022-02-17 10:56:13 -08:00
Ryan Richard
60cc61cdaa
Add the concept of a tracking issue to the proposal process
2022-02-17 10:42:10 -08:00
Ryan Richard
bc6827b2e1
Auto-format GOVERNANCE.md
2022-02-17 10:08:37 -08:00
Ryan Richard
9dbf7d6bf5
Merge branch 'main' into proposal_process
2022-02-17 10:07:37 -08:00
Ryan Richard
46dd73de70
Merge pull request #1006 from vmware-tanzu/fix_int_test_macos
...
Fix int test that was failing on MacOS, and some small doc changes
2022-02-16 12:56:30 -08:00
Ryan Richard
9a6136761d
Merge branch 'main' into fix_int_test_macos
2022-02-16 12:01:47 -08:00
Ryan Richard
eaa3e9f612
Merge pull request #1013 from vmware-tanzu/cli_require_https_issuers
...
CLI requires HTTPS OIDC issuer, authorize, and token URLS
2022-02-16 11:22:26 -08:00
Ryan Richard
c09daa8513
Merge branch 'main' into fix_int_test_macos
2022-02-16 11:09:11 -08:00
Ryan Richard
e5a60a8c84
Update a comment
2022-02-16 11:09:05 -08:00
Ryan Richard
79467318f4
CLI requires HTTPS OIDC issuer, authorize, and token URLS
2022-02-16 10:41:51 -08:00
Mo Khan
cc50fc980c
Merge pull request #1009 from enj/enj/i/chrome_beta_build_5
...
Enforce naming convention for browser based tests
2022-02-16 11:21:27 -05:00
Monis Khan
b8202d89d9
Enforce naming convention for browser based tests
...
This allows us to target browser based tests with the regex:
go test -v -race -count 1 -timeout 0 ./test/integration -run '/_Browser'
New tests that call browsertest.Open will automatically be forced to
follow this convention.
Signed-off-by: Monis Khan <mok@vmware.com>
2022-02-16 09:20:28 -05:00
Ryan Richard
f1f42052fb
Merge branch 'main' into fix_int_test_macos
2022-02-15 16:45:59 -08:00
Ryan Richard
3f4e6cf367
Fix a typo in CONTRIBUTING.md from a recent commit: comma in wrong place
2022-02-15 16:45:49 -08:00
Ryan Richard
1aa17bd84d
Check for darwin before relaxing stderr vs stdout assertion in e2e test
2022-02-15 13:45:04 -08:00
Mo Khan
c4ae5cfebb
Merge pull request #1003 from enj/enj/d/dex_password
...
Update dex docs regarding password grant
2022-02-15 15:45:54 -05:00
Ryan Richard
b0c36c6633
Fix int test that was failing on MacOS, and some small doc changes
2022-02-15 11:19:49 -08:00
Ryan Richard
461c0ae56c
Merge branch 'main' into proposal_process
2022-02-15 10:15:46 -08:00
Ryan Richard
42db13d044
Move the proposal process doc to the proposals
directory's README.md
2022-02-15 10:14:59 -08:00
Ryan Richard
82cdc870a6
Merge pull request #996 from vmware-tanzu/gke_tutorial
...
Replace old tutorial with a new Supervisor + Concierge tutorial which uses GKE to demonstrate both
2022-02-15 09:37:29 -08:00
Ryan Richard
0175445ece
Merge branch 'main' into gke_tutorial
2022-02-15 09:22:52 -08:00
Ryan Richard
f728ea743f
Add --ignore-not-found to delete Supervisor app command
2022-02-15 09:04:47 -08:00
Ryan Richard
230e563ab7
Another draft of the new tutorial guide
2022-02-14 17:23:57 -08:00
Ryan Richard
26dcbd9ec1
Try using ``markdown instead of
``md for coloring
2022-02-14 13:45:30 -08:00
Monis Khan
a21a5bca1e
Update dex docs regarding password grant
...
Signed-off-by: Monis Khan <mok@vmware.com>
2022-02-13 12:48:20 -05:00
Ryan Richard
05ec8cba8c
Add a new subheading to the tutorial doc
2022-02-11 17:16:40 -08:00
Ryan Richard
e57a1a7891
Overwrite the old Supervisor+Concierge tutorial with the new one
...
And make it easier for web site readers to find by adding prominent
links to it from several places.
2022-02-11 17:03:13 -08:00
Mo Khan
11d9b4f21a
Merge pull request #999 from vmware-tanzu/dependabot/docker/golang-1.17.7
...
Bump golang from 1.17.6 to 1.17.7
2022-02-10 21:55:27 -05:00
dependabot[bot]
93e4d5d956
Bump golang from 1.17.6 to 1.17.7
...
Bumps golang from 1.17.6 to 1.17.7.
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 01:13:54 +00:00
Mo Khan
390af8f476
Merge pull request #997 from enj/enj/i/bump_0003
...
Bump Kube to v0.23.3 and rest to latest
2022-02-10 18:19:54 -05:00
Monis Khan
49e88dd74a
Change some single quotes to double quotes in minified JS
...
Signed-off-by: Monis Khan <mok@vmware.com>
2022-02-10 16:15:26 -05:00
Monis Khan
4be2dd3b2a
Bump Kube to v0.23.3 and rest to latest
...
Signed-off-by: Monis Khan <mok@vmware.com>
2022-02-10 16:15:26 -05:00