constellation/cli/internal/cmd
Moritz Sanft 60fc73e0e7
terraform-provider: implement constellation_cluster resource (#2691)
* terraform: move module to legacy-directory

* constellation-lib: refactor service account marshalling

* terraform-provider: normalize Azure image URIs

* constellation-lib: refactor Kubeconfig endpoint rewriting

* terraform-provider: add conversion functions for AWS and GCP

* terraform-provider: implement `constellation_cluster` resource

* terraform-provider: refactor conversion

* terraform-provider: implement image and k8s upgrades

* terraform-provider: fix linter checks

* terraform-provider: refactor to bundle init & upgrade method

* constellation-lib: rewrite Kubeconfig endpoint in init

* terraform-provider: bind logger and dialer constructors to struct

* terraform-provider: move applier to function pointer

* terraform-provider: gcp conversion fixes

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>

* terraform-provider: fix Azure UAMI input

* terraform-provider: rename Kubeconfig variable

* terraform-provider: tidy

* terraform-provider: regenerate docs

* constellation-lib: provide Kubeconfig in testing initserver

---------

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
2023-12-11 15:55:44 +01:00
..
pathprefix cli: fix incorrect file path for master secret during upgrades when using workspace flag (#2249) 2023-08-16 15:38:40 +02:00
apply_test.go terraform-provider: implement constellation_cluster resource (#2691) 2023-12-11 15:55:44 +01:00
apply.go terraform-provider: implement constellation_cluster resource (#2691) 2023-12-11 15:55:44 +01:00
applyhelm.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
applyinit.go terraform-provider: implement constellation_cluster resource (#2691) 2023-12-11 15:55:44 +01:00
applyterraform.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
BUILD.bazel terraform-provider: implement constellation_cluster resource (#2691) 2023-12-11 15:55:44 +01:00
cloud_test.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
cloud.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
cmd.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
config.go config: add separate option for handling attestation parameters (#1623) 2023-05-03 11:11:53 +02:00
configfetchmeasurements_test.go terraform-provider: add attestation data source (#2640) 2023-11-28 17:30:11 +01:00
configfetchmeasurements.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
configgenerate_test.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
configgenerate.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01: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 cli: update config migration to migrate v3 -> v4 (#2166) 2023-08-04 15:57:36 +02:00
create_test.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
create.go cli: fix helm-timeout flags for deprecated commands (#2676) 2023-12-04 10:14:16 +01:00
iam.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreate_test.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreate.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreateaws.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreateazure.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamcreategcp.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamdestroy_test.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamdestroy.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
iamupgradeapply_test.go api: refactor attestationconfigapi client/fetcher 2023-11-24 15:49:48 +01:00
iamupgradeapply.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
init_test.go terraform-provider: implement constellation_cluster resource (#2691) 2023-12-11 15:55:44 +01:00
init.go constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +01:00
license_enterprise.go license: refactor license check to be agnostic of input (#2659) 2023-12-01 08:37:52 +01:00
license_oss.go license: refactor license check to be agnostic of input (#2659) 2023-12-01 08:37:52 +01:00
log.go Add debug logging for verify command (#610) 2022-11-21 17:02:33 +01:00
maapatch_test.go terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
maapatch.go terraform: add Terraform module for Azure (#2566) 2023-11-13 18:46:20 +01:00
mini.go Update CLI reference (#248) 2022-10-14 10:48:20 +02:00
minidown.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01: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 constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
recover_test.go cli: enable constellation apply to create new clusters (#2549) 2023-11-20 11:17:16 +01:00
recover.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01: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 constellation-lib: move kubecmd package usage (#2673) 2023-12-05 16:23:31 +01:00
status.go constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +01:00
terminate_test.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
terminate.go cli: refactor flag parsing code (#2425) 2023-10-16 15:05:29 +02:00
upgrade.go cli: move helm and terraform out of kubernetes package (#2222) 2023-08-16 09:59:32 +02:00
upgradeapply_test.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
upgradeapply.go constellation-lib: move kubecmd package usage (#2673) 2023-12-05 16:23:31 +01:00
upgradecheck_test.go cli: unify cloudcmd create and upgrade code (#2513) 2023-10-31 12:46:40 +01:00
upgradecheck.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01: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 terraform-provider: add attestation data source (#2640) 2023-11-28 17:30:11 +01:00
verify_test.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
verify.go constellation-lib: move state and featureset packages (#2682) 2023-12-08 16:27:04 +01:00
version_test.go cli: use Semver type to represent microservice versions (#2125) 2023-07-25 14:20:25 +02:00
version.go cli: use Semver type to represent microservice versions (#2125) 2023-07-25 14:20:25 +02:00