diff --git a/src/airgap/airgap_input.txt b/src/airgap/airgap_input.txt index f5cccbd8..42f96347 100644 --- a/src/airgap/airgap_input.txt +++ b/src/airgap/airgap_input.txt @@ -170,3 +170,12 @@ code-gitrpc-signed code-search-signed busybox + +[iacm]: + drone-git + ci-lite-engine + ci-addon + harness_terraform + iac-server-signed + iacm-manager-signed + iac-cloud-cost-api-signed \ No newline at end of file diff --git a/src/airgap/create-airgap-bundle.sh b/src/airgap/create-airgap-bundle.sh index e00d4e07..e4e82419 100755 --- a/src/airgap/create-airgap-bundle.sh +++ b/src/airgap/create-airgap-bundle.sh @@ -11,7 +11,7 @@ export DOCKER_DEFAULT_PLATFORM=linux/amd64 # Provide lists of image names lists=("cdng_images.txt" "ci_images.txt" "platform_images.txt" "ccm_images.txt" -"ce_images.txt" "sto_images.txt" "ff_images.txt" "ssca_images.txt" "dbdevops_images.txt" "code_images.txt") +"ce_images.txt" "sto_images.txt" "ff_images.txt" "ssca_images.txt" "dbdevops_images.txt" "code_images.txt" "iacm_images.txt") pull_image() { i="$1" diff --git a/src/airgap/upload_all_bundles.sh b/src/airgap/upload_all_bundles.sh index f22674c6..c64e76d5 100755 --- a/src/airgap/upload_all_bundles.sh +++ b/src/airgap/upload_all_bundles.sh @@ -25,7 +25,7 @@ service_account_file=$1 release_number=$2 # Array of files to upload -files=("platform_images.tgz" "cdng_images.tgz" "ccm_images.tgz" "ce_images.tgz" "ff_images.tgz" "ci_images.tgz" "sto_images.tgz" "ssca_images.tgz" "dbdevops_images.tgz" "code_images.tgz") +files=("platform_images.tgz" "cdng_images.tgz" "ccm_images.tgz" "ce_images.tgz" "ff_images.tgz" "ci_images.tgz" "sto_images.tgz" "ssca_images.tgz" "dbdevops_images.tgz" "code_images.tgz" "iacm_images.tgz") # Create an empty file and upload it to the destination bucket path touch empty_file diff --git a/src/airgap/validate_airgap.sh b/src/airgap/validate_airgap.sh index 941c4a70..bd218700 100644 --- a/src/airgap/validate_airgap.sh +++ b/src/airgap/validate_airgap.sh @@ -1,6 +1,6 @@ #!/bin/bash -MODULE_NAMES=("platform" "ccm" "cdng" "ci" "ce" "sto" "ff" "ssca" "dbdevops" "code") +MODULE_NAMES=("platform" "ccm" "cdng" "ci" "ce" "sto" "ff" "ssca" "dbdevops" "code" "iacm") abort() { echo "Error: $1" diff --git a/src/harness/Chart.yaml b/src/harness/Chart.yaml index 4482ed7f..3db50c3c 100644 --- a/src/harness/Chart.yaml +++ b/src/harness/Chart.yaml @@ -47,6 +47,10 @@ dependencies: name: code repository: https://harness.github.io/helm-charts version: 0.24.0 +- condition: global.iacm.enabled + name: iacm + repository: https://harness.github.io/helm-charts + version: 0.24.0 description: Helm Chart for deploying Harness. kubeVersion: '>=1.25.0-0' name: harness diff --git a/src/harness/values.yaml b/src/harness/values.yaml index 4d222b5e..af135c9e 100644 --- a/src/harness/values.yaml +++ b/src/harness/values.yaml @@ -38,6 +38,9 @@ global: # -- Enable to install Harness Code services (CODE) code: enabled: false + # -- Enable to install Harness Infrastructure As Code Management (IACM) + iacm: + enabled: false # -- provide overrides to use in-cluster database or configure to use external databases database: clickhouse: @@ -585,3 +588,22 @@ ff: waitForInitContainer: image: tag: 1.2.0 +iacm: + iac-server: + affinity: {} + autoscaling: + enabled: false + nodeSelector: {} + tolerations: [] + iacm-manager: + affinity: {} + autoscaling: + enabled: false + nodeSelector: {} + tolerations: [] + iac-cloud-cost-api: + affinity: {} + autoscaling: + enabled: false + nodeSelector: {} + tolerations: [] diff --git a/src/modules/iacm/chart.yaml b/src/modules/iacm/chart.yaml new file mode 100644 index 00000000..a520d90b --- /dev/null +++ b/src/modules/iacm/chart.yaml @@ -0,0 +1,16 @@ +apiVersion: v2 +appVersion: 0.0.79001 +dependencies: +- name: iac-server + repository: oci://us-west1-docker.pkg.dev/gcr-prod/harness-helm-artifacts + version: 1.101.0 +- name: iacm-manager + repository: oci://us-west1-docker.pkg.dev/gcr-prod/harness-helm-artifacts + version: 1.53.1 +- name: iac-cloud-cost-api + repository: oci://us-west1-docker.pkg.dev/gcr-prod/harness-helm-artifacts + version: 1.20.0 +description: Helm chart for Harness IACM +name: iacm +type: application +version: 0.24.0