← harnesscd-example-apps

Added the changes to secretref

820eae7a44c8881a781eb9801dc82431b4b18c3e · Debanitrkl · Aug 17, 2023 11:51

+6 −6 · 5 files changed

  • aws-lambda/harnesscd-pipeline/aws-connector.yml +2 −2
  • cloudformation/aws-connector.yml +1 −1
  • google_cloud_function/gcp-connector.yml +1 −1
  • vm-aws/ssh/1-aws-connector.yml +1 −1
  • vm-aws/winrm/1-aws-connector.yml +1 −1
diff --git a/aws-lambda/harnesscd-pipeline/aws-connector.yml b/aws-lambda/harnesscd-pipeline/aws-connector.yml
index f4cbb83..e1112f9 100644
--- a/aws-lambda/harnesscd-pipeline/aws-connector.yml
+++ b/aws-lambda/harnesscd-pipeline/aws-connector.yml
@@ -10,7 +10,7 @@ connector:
       type: ManualConfig
       spec:
         accessKey: AWS_ACCESS_KEY
-        secretKeyRef: AWS_PERMANENT_ACCESS_TOKEN
+        secretKeyRef: awssecret
       region: us-east-1
     awsSdkClientBackOffStrategyOverride:
       type: FixedDelayBackoffStrategy
@@ -18,5 +18,5 @@ connector:
         fixedBackoff: 0
         retryCount: 1
     delegateSelectors:
-      - docker-delegate
+      - DELEGATE_NAME
     executeOnDelegate: true
\ No newline at end of file
diff --git a/cloudformation/aws-connector.yml b/cloudformation/aws-connector.yml
index 6b1419b..85541e4 100644
--- a/cloudformation/aws-connector.yml
+++ b/cloudformation/aws-connector.yml
@@ -10,7 +10,7 @@ connector:
       type: ManualConfig
       spec:
         accessKey: AWS_ACCESS_KEY
-        secretKeyRef: AWS_PERMANENT_ACCESS_TOKEN
+        secretKeyRef: awssecret
       region: us-east-1
     awsSdkClientBackOffStrategyOverride:
       type: FixedDelayBackoffStrategy
diff --git a/google_cloud_function/gcp-connector.yml b/google_cloud_function/gcp-connector.yml
index 232f5e5..d306182 100644
--- a/google_cloud_function/gcp-connector.yml
+++ b/google_cloud_function/gcp-connector.yml
@@ -9,5 +9,5 @@ connector:
     credential:
       type: ManualConfig
       spec:
-        secretKeyRef: gcp
+        secretKeyRef: gcpsecret
     executeOnDelegate: false
diff --git a/vm-aws/ssh/1-aws-connector.yml b/vm-aws/ssh/1-aws-connector.yml
index 20e055b..876ec53 100644
--- a/vm-aws/ssh/1-aws-connector.yml
+++ b/vm-aws/ssh/1-aws-connector.yml
@@ -10,7 +10,7 @@ connector:
       type: ManualConfig
       spec:
         accessKey: AWS_ACCESS_KEY_ID
-        secretKeyRef: harness_awssecretkey
+        secretKeyRef: awssecret
     awsSdkClientBackOffStrategyOverride:
       type: FixedDelayBackoffStrategy
       spec:
diff --git a/vm-aws/winrm/1-aws-connector.yml b/vm-aws/winrm/1-aws-connector.yml
index 20e055b..876ec53 100644
--- a/vm-aws/winrm/1-aws-connector.yml
+++ b/vm-aws/winrm/1-aws-connector.yml
@@ -10,7 +10,7 @@ connector:
       type: ManualConfig
       spec:
         accessKey: AWS_ACCESS_KEY_ID
-        secretKeyRef: harness_awssecretkey
+        secretKeyRef: awssecret
     awsSdkClientBackOffStrategyOverride:
       type: FixedDelayBackoffStrategy
       spec: