Skip to content

Commit b5d1fb0

Browse files
qchalmer-oraclejotruon
authored andcommitted
Bug Fix - updated examples for devops artifact to show options and helm example and public docs
1 parent cb6a3ec commit b5d1fb0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

examples/devops/deployment_service/deploy_helm_artifact_with_attestation/deploy_helm_artifact_for_attestation.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ locals {
4646

4747
resource "oci_devops_deploy_artifact" "helm_chart_implicit_no_public_key" {
4848
#Required
49-
argument_substitution_mode = "SUBSTITUTE_PLACEHOLDERS"
49+
argument_substitution_mode = "NONE"
5050
deploy_artifact_source {
5151
#Required
5252
deploy_artifact_source_type = "HELM_CHART"
@@ -66,7 +66,7 @@ resource "oci_devops_deploy_artifact" "helm_chart_implicit_no_public_key" {
6666

6767
resource "oci_devops_deploy_artifact" "helm_chart_no_public_key" {
6868
#Required
69-
argument_substitution_mode = "SUBSTITUTE_PLACEHOLDERS"
69+
argument_substitution_mode = "NONE"
7070
deploy_artifact_source {
7171
#Required
7272
deploy_artifact_source_type = "HELM_CHART"
@@ -92,7 +92,7 @@ resource "oci_devops_deploy_artifact" "helm_chart_no_public_key" {
9292

9393
resource "oci_devops_deploy_artifact" "helm_chart_vault_public_key" {
9494
#Required
95-
argument_substitution_mode = "SUBSTITUTE_PLACEHOLDERS"
95+
argument_substitution_mode = "NONE"
9696
deploy_artifact_source {
9797
#Required
9898
deploy_artifact_source_type = "HELM_CHART"
@@ -119,7 +119,7 @@ resource "oci_devops_deploy_artifact" "helm_chart_vault_public_key" {
119119

120120
resource "oci_devops_deploy_artifact" "helm_chart_inline_public_key" {
121121
#Required
122-
argument_substitution_mode = "SUBSTITUTE_PLACEHOLDERS"
122+
argument_substitution_mode = "NONE"
123123
deploy_artifact_source {
124124
#Required
125125
deploy_artifact_source_type = "HELM_CHART"

website/docs/d/devops_deploy_artifact.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The following arguments are supported:
3232

3333
The following attributes are exported:
3434

35-
* `argument_substitution_mode` - Mode for artifact parameter substitution.
35+
* `argument_substitution_mode` - Mode for artifact parameter substitution. Options: `"NONE", "SUBSTITUTE_PLACEHOLDERS"` For Helm Deployments only "NONE" is supported.
3636
* `compartment_id` - The OCID of a compartment.
3737
* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
3838
* `deploy_artifact_source` - Specifies source of an artifact.

website/docs/d/devops_deploy_artifacts.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The following attributes are exported:
4747

4848
The following attributes are exported:
4949

50-
* `argument_substitution_mode` - Mode for artifact parameter substitution.
50+
* `argument_substitution_mode` - Mode for artifact parameter substitution. Options: `"NONE", "SUBSTITUTE_PLACEHOLDERS"` For Helm Deployments only "NONE" is supported.
5151
* `compartment_id` - The OCID of a compartment.
5252
* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
5353
* `deploy_artifact_source` - Specifies source of an artifact.

website/docs/r/devops_deploy_artifact.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ resource "oci_devops_deploy_artifact" "test_deploy_artifact" {
5555

5656
The following arguments are supported:
5757

58-
* `argument_substitution_mode` - (Required) (Updatable) Mode for artifact parameter substitution.
58+
* `argument_substitution_mode` - (Required) (Updatable) Mode for artifact parameter substitution. Options: `"NONE", "SUBSTITUTE_PLACEHOLDERS"` For Helm Deployments only "NONE" is supported.
5959
* `defined_tags` - (Optional) (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
6060
* `deploy_artifact_source` - (Required) (Updatable) Specifies source of an artifact.
6161
* `base64encoded_content` - (Required when deploy_artifact_source_type=INLINE) (Updatable) Specifies content for the inline artifact.
@@ -85,7 +85,7 @@ Any change to a property that does not support update will force the destruction
8585

8686
The following attributes are exported:
8787

88-
* `argument_substitution_mode` - Mode for artifact parameter substitution.
88+
* `argument_substitution_mode` - Mode for artifact parameter substitution. Options: `"NONE", "SUBSTITUTE_PLACEHOLDERS"` For Helm Deployments only "NONE" is supported.
8989
* `compartment_id` - The OCID of a compartment.
9090
* `defined_tags` - Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}`
9191
* `deploy_artifact_source` - Specifies source of an artifact.

0 commit comments

Comments
 (0)