Commit Graph

3381 Commits

Author SHA1 Message Date
Benjamin A. Petersen
6a847aaec7
backup prepare-for-integration-tests.sh hacks, not sure this is all correct 2023-09-13 12:57:43 -04:00
Benjamin A. Petersen
65a54d39a5
Update deploy_packages.sh 2023-09-11 16:31:03 -04:00
Benjamin A. Petersen
d99a43bd87
revisions to make work with prepare-supervisor-on-kind.sh script 2023-09-06 14:08:04 -04:00
Benjamin A. Petersen
3a71252167
split up build.sh and deploy.sh - revised 2023-09-06 14:08:04 -04:00
Benjamin A. Petersen
ead2b3ce08
split up build.sh and deploy.sh 2023-09-06 14:08:04 -04:00
Benjamin A. Petersen
1ec75ba8ca
remove namespace from PackageRepository,Package,PackageMetadata resources 2023-09-06 14:08:04 -04:00
Benjamin A. Petersen
e297f05603
remove old unused scripts 2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
233e382579
simple cleaup script 2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
c82b14179a
supervisor values & schema update 2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
1688210630
metadata.yml applied to package repository packages 2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
296f09ed85
metadata.yml files support namespace templating 2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
e873f11284
Fix: default image_repo for supervisor,concierge, packages installed in
global kapp-controller-packaging-global
2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
3097a263cd
build.sh refactor: variables for dir names, ensure consistency 2023-09-06 14:08:03 -04:00
Benjamin A. Petersen
8bea59139d
fix ytt templating error 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
02ac4d26af
fix RBAC in build.sh script 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
af04f331f3
add build.sh which outlines all steps to build & generate resources 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
9b8addef00
add package-repository directory and resources 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
c8ec432eef
add package_image to values.yaml files (sibling to image) 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
109cf0cd28
commit generated schema-openapi.yml 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
562f11d034
use package-template.yml to generate packages 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
1938b2df73
metadata.yml fix 2023-09-06 14:08:02 -04:00
Benjamin A. Petersen
c1a9fb60d0
build.yaml kbld config: pass in image_repo 2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
a801a93411
Update supervisor values.yaml to a schema doc. Make @nullable work
- see build.sh for documented script to run to generate:
   ytt --file concierge/config/values.yaml --data-values-schema-inspect --output openapi-v3 > concierge/schema-openapi.yml
2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
b861fdc148
WIP: update the schema gen for supervisor
the ./build.sh for the ytt invocation for this.
there is more work to do here, this gets us started.
many of our multiline descriptions need to be assessed.
do we want both? the description and also the schema text?
2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
0c60e31d86
Update supervisor values.yaml to a schema doc. Make @nullable work
- see build.sh for documented script to run to generate:
   ytt --file supervisor/config/values.yaml --data-values-schema-inspect --output openapi-v3 > supervisor/schema-openapi.yml
2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
1d1b98f9a1
add some hacky scripts for generating things 2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
9657719f9f
add concierge package, schema, metadata files 2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
5c75734112
add supervisor package, schema, metadata files 2023-09-06 14:08:01 -04:00
Benjamin A. Petersen
aceef06873
WIP: add .imgpkg directories 2023-09-06 14:08:00 -04:00
Benjamin A. Petersen
550673b8dd
WIP: hack in a deploy_carvel/concierge directory, but strip out the deployment for simplicity 2023-09-06 14:08:00 -04:00
Benjamin A. Petersen
715a93d64a
WIP: hack in a deploy_carvel/supervisor directory, but strip out the deployment for simplicity 2023-09-06 14:07:53 -04:00
Joshua Casey
b14e86bb91
Merge pull request #1654 from vmware-tanzu/docs/configure-supervisor-with-azuread
Add docs for Supervisor with Azure AD
2023-09-06 12:33:51 -05:00
Joshua Casey
c3445a747d
Merge pull request #1650 from vmware-tanzu/ben/prepare-for-integration-tests.sh-improvements
Improve hack/prepare-for-integration-tests.sh flexibility
2023-09-06 12:30:12 -05:00
Benjamin A. Petersen
a5c481cf61
Add docs for Supervisor with Azure AD
- Note that Azure AD is being rebranded to Entra ID
2023-09-06 13:14:37 -04: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
Ben Petersen
fbeb45a1a0
Merge pull request #1648 from vmware-tanzu/jtc/do-not-fail-hack-script-without-KUBE_GIT_VERSION
Do not fail hack script without kube git version
2023-08-30 10:58:15 -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
a42e3edf56
Merge pull request #1646 from vmware-tanzu/jtc/support-k8s-1-21-and-up
Remove generated code prior to K8s 1.21
2023-08-29 16:29:32 -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
9248db971a
Merge pull request #1634 from vmware-tanzu/jtc/1633/update-pinniped-cli-version-output
#1633 Update `pinniped version` output
2023-08-28 14:19:17 -05:00
Joshua Casey
2dcc149fee Split off helper function 2023-08-28 12:14:14 -05:00
Joshua Casey
38230fc518 Use pversion to retrieve buildtime information 2023-08-28 11:54:27 -05:00
Joshua Casey
8edecffcc0
Merge pull request #1630 from vmware-tanzu/jtc/support-k8s-1-28
Support k8s 1.28
2023-08-28 11:49:18 -05:00
Joshua Casey
ca05969f8d Integration tests should use 'kubectl explain --output plaintext-openapiv2'
- OpenAPIV3 discovery of aggregate APIs seems to need a little more work in K8s 1.28
2023-08-28 10:50:11 -05:00
Joshua Casey
1b504b6fbd Expose OpenAPIv3 explanations 2023-08-28 10:50:11 -05:00
Joshua Casey
dfd3d5075d Ensure that kubegenerator scripts are executable 2023-08-28 10:50:11 -05:00
Joshua Casey
c51722a121 Run K8s codegen, adding 1.28.0 2023-08-28 10:50:11 -05:00
Joshua Casey
23ec91dee0 K8s API Server audit events are no longer pointers 2023-08-28 10:50:10 -05:00