constellation/cli/internal/cmd
Moritz Sanft c15e4efef6
terraform: Azure Marketplace image support (#2651)
* terraform: add Azure marketplace variable

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

* config: add Azure marketplace variable

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

* cli: use Terraform variables from config

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

* terraform: pass down marketplace variable

* image: pad Azure images to 1GiB

* terraform: add version attribute to marketplace image

* semver: allow versions to be exported without prefix

* cli: boolean var to use marketplace images

* config: remove dive key

* dev-docs: add instructions on how to use marketplace images

* terraform: fix unit test

* terraform: only fetch image for non-marketplace images

* mpimage: refactor image selection

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

* [remove] increase minor version for image build

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

* terraform: ignore changes to source_image_reference on upgrade

* operator: add support for parsing Azure marketplace images

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

* upgrade: fix imagefetcher call

* docs: add info about azure marketplace

* image: ensure more than 1GiB in size

* image: test to pad to 2GiB

* version: change back to v2.14.0-pre

* image: GPT-conformant image size padding

* [remove] increase version

* mpimage: inline prefix func

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

* ci: add marketplace image e2e test

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

* [remove] register workflow

* ci: fix workflow name

* ci: only allow azure test

* cli: add marketplace image input to interface

* cli: fix argument passing

* version: roll back to v2.14.0

* ci: add force-flag support

* Update docs/docs/overview/license.md

* Update dev-docs/workflows/marketplace-images.md

Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>

---------

Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
Co-authored-by: Moritz Eckert <m1gh7ym0@gmail.com>
Co-authored-by: Thomas Tendyck <51411342+thomasten@users.noreply.github.com>
2023-12-08 14:40:31 +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 constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +01:00
apply.go terraform: Azure Marketplace image support (#2651) 2023-12-08 14:40:31 +01:00
applyhelm.go constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +01:00
applyinit.go constellation-lib: refactor init RPC to be shared (#2665) 2023-12-04 13:40:24 +01:00
applyterraform.go cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +01:00
BUILD.bazel constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +01:00
cloud_test.go cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +01:00
cloud.go cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +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 terraform-provider: add attestation data source (#2640) 2023-11-28 17:30:11 +01:00
configgenerate_test.go cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +01:00
configgenerate.go cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +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 license: refactor license check to be agnostic of input (#2659) 2023-12-01 08:37:52 +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 constellation-lib: add Helm wrapper (#2680) 2023-12-06 10:01:39 +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 cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +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 cli: fix renamed flag for mini-constellation (#2662) 2023-11-30 10:12:51 +01:00
recover_test.go cli: enable constellation apply to create new clusters (#2549) 2023-11-20 11:17:16 +01:00
recover.go cli: move cloudcmd/validators to cmd (#2679) 2023-12-05 12:28:40 +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 cli: move cli/internal libraries (#2623) 2023-11-22 14:52:56 +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 terraform: Azure Marketplace image support (#2651) 2023-12-08 14:40:31 +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: add Helm wrapper (#2680) 2023-12-06 10:01:39 +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 cli: move cloudcmd/validators to cmd (#2679) 2023-12-05 12:28:40 +01:00
verify.go cli: move cloudcmd/validators to cmd (#2679) 2023-12-05 12:28:40 +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