constellation/cli/internal/cmd
Adrian Stobbe a87b7894db
aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090)
* add current chart

add current helm chart

* disable service controller for aws ccm

* add new iam roles

* doc AWS internet LB + add to LB test

* pass clusterName to helm for AWS LB

* fix update-aws-lb chart to also include .helmignore

* move chart outside services

* working state

* add subnet tags for AWS subnet discovery

* fix .helmignore load rule with file in subdirectory

* upgrade iam profile

* revert new loader impl since cilium is not correctly loaded

* install chart if not already present during `upgrade apply`

* cleanup PR + fix build + add todos

cleanup PR + add todos

* shared helm pkg for cli install and bootstrapper

* add link to eks docs

* refactor iamMigrationCmd

* delete unused helm.symwallk

* move iammigrate to upgrade pkg

* fixup! delete unused helm.symwallk

* add to upgradecheck

* remove nodeSelector from go code (Otto)

* update iam docs and sort permission + remove duplicate roles

* fix bug in `upgrade check`

* better upgrade check output when svc version upgrade not possible

* pr feedback

* remove force flag in upgrade_test

* use upgrader.GetUpgradeID instead of extra type

* remove todos + fix check

* update doc lb (leo)

* remove bootstrapper helm package

* Update cli/internal/cmd/upgradecheck.go

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* final nits

* add docs for e2e upgrade test setup

* Apply suggestions from code review

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* Update cli/internal/helm/loader.go

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* Update cli/internal/cmd/tfmigrationclient.go

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>

* fix daniel review

* link to the iam permissions instead of manually updating them (agreed with leo)

* disable iam upgrade in upgrade apply

---------

Co-authored-by: Daniel Weiße <66256922+daniel-weisse@users.noreply.github.com>
Co-authored-by: Malte Poll
2023-07-24 10:30:53 +02:00
..
BUILD.bazel aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090) 2023-07-24 10:30:53 +02:00
cloud_test.go cli: add Terraform log support (#1620) 2023-04-14 14:15:07 +02:00
cloud.go cli: add Terraform log support (#1620) 2023-04-14 14:15:07 +02:00
cmd.go dev-docs: Go package docs (#958) 2023-01-19 15:57:50 +01:00
config.go config: add separate option for handling attestation parameters (#1623) 2023-05-03 11:11:53 +02:00
configfetchmeasurements_test.go config: enable azure snp version fetcher again + minimum age for latest version (#1899) 2023-06-09 12:48:12 +02:00
configfetchmeasurements.go cli: improve user warning / information (#1933) 2023-06-19 16:51:39 +02:00
configgenerate_test.go Use term "attestation variant" consistently 2023-06-26 08:54:11 +02:00
configgenerate.go Use term "attestation variant" consistently 2023-06-26 08:54:11 +02:00
configinstancetypes.go config: validate instance type for aws SNP based on attestation variant (#1963) 2023-06-26 17:05:12 +02:00
configkubernetesversions.go go: remove unused parameters 2023-03-20 08:41:01 -04:00
configmigrate.go fix: small formating/spelling issues (#1965) 2023-06-26 08:34:37 +02:00
create_test.go cli: fail fast when CLI and Constellation versions don't match (#1972) 2023-06-27 18:24:35 +02:00
create.go cli: fail fast when CLI and Constellation versions don't match (#1972) 2023-06-27 18:24:35 +02:00
iamcreate_test.go config: iam create aws check zone contains availability zone (#1913) 2023-07-04 13:55:52 +02:00
iamcreate.go cli: fix/improve some user-facing strings 2023-07-06 09:05:17 +02:00
iamdestroy_test.go cli: add Terraform log support (#1620) 2023-04-14 14:15:07 +02:00
iamdestroy.go cli: force-delete Azure resource group (#1667) 2023-04-19 08:30:11 +02:00
init_test.go cli: fail fast when CLI and Constellation versions don't match (#1972) 2023-06-27 18:24:35 +02:00
init.go aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090) 2023-07-24 10:30:53 +02:00
log.go Add debug logging for verify command (#610) 2022-11-21 17:02:33 +01:00
manualtfstatemigration.go cli: manual AWS terraform state transitions 2023-06-28 18:13:01 +02:00
mini.go Update CLI reference (#248) 2022-10-14 10:48:20 +02:00
minidown.go deps: replace multierr with native errors.Join 2023-02-20 12:08:24 -05:00
miniup_cross.go cli: add windows amd64 build target (#1835) 2023-05-30 12:02:43 +02:00
miniup_linux_amd64.go cli: add windows amd64 build target (#1835) 2023-05-30 12:02:43 +02:00
miniup.go cli: fix broken "constellation mini up" due to incompatible terraform json (#2081) 2023-07-10 15:16:45 +02:00
recover_test.go Add --insecure to config fetch-measurement (#1879) 2023-06-06 10:32:22 +02:00
recover.go api: rename /api/versions to versionsapi and /api/attestationcfig to attestationconfigapi (#1876) 2023-06-07 16:16:32 +02:00
spinner_test.go reserve enough time for stable tests (#564) 2022-11-17 17:30:35 +01:00
spinner.go cli: add missing flag to miniConstellation (#1374) 2023-03-08 15:48:36 +01:00
status_test.go feat: status shows attestation config (#2056) 2023-07-07 17:02:01 +02:00
status.go feat: status shows attestation config (#2056) 2023-07-07 17:02:01 +02:00
terminate_test.go cli: add Terraform log support (#1620) 2023-04-14 14:15:07 +02:00
terminate.go cli: add Terraform log support (#1620) 2023-04-14 14:15:07 +02:00
tfmigrationclient.go aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090) 2023-07-24 10:30:53 +02:00
upgrade.go cli: refactor upgrade apply cmd to match name 2023-02-15 16:44:47 +01:00
upgradeapply_test.go aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090) 2023-07-24 10:30:53 +02:00
upgradeapply.go aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090) 2023-07-24 10:30:53 +02:00
upgradecheck_test.go cli: write Terraform migration output directly to constellation-id.json (#2107) 2023-07-18 09:33:42 +02:00
upgradecheck.go aws: use new LB controller to fix SecurityGroup cleanup on K8s service deletion (#2090) 2023-07-24 10:30:53 +02:00
userinteraction_test.go bazel: add build files for go (#1186) 2023-03-09 15:23:42 +01:00
userinteraction.go add license headers 2022-09-05 09:17:25 +02:00
validargs_test.go add license headers 2022-09-05 09:17:25 +02:00
validargs.go cli: remove debug env check for AWS (#460) 2022-11-04 15:31:51 +01:00
verifier_test.go cli: dynamically select signature validation pubkey for release and pre-release artifacts 2023-05-31 14:00:00 +02:00
verify_test.go config: drop support for deprecated Azure's service principal authentication (#1906) 2023-06-14 17:50:57 +02:00
verify.go cli: fix/improve some user-facing strings 2023-07-06 09:05:17 +02:00
version_test.go bazel: add build files for go (#1186) 2023-03-09 15:23:42 +01:00
version.go go: remove unused parameters 2023-03-20 08:41:01 -04:00