-
Bug
-
Resolution: Not A Defect
-
Major
-
None
Below is the code I have in my helm-chart:
clouds:
- amazonEC2:
cloudName: "EC2 workers"
privateKey: "${secret-privatekey}"
region: "us-east-2"
instanceCap: "4"
useInstanceProfileForCredentials: "true"
Usage: "use this node as much as possible"
awsKeyId: "AWS-login"
accessKey: "***"
secretKey: "***"
templates:
- description: "Jenkins-Worker-Ubuntu"
ami: "ami-id"
connectBySSHProcess: "true"
deleteRootOnTermination: "true"
iamInstanceProfile: "role-arn"
idleTerminationMinutes: "30"
initScript: "sudo apt -y update --security"
labelString: "test"
mode: "NORMAL"
numExecutors: "1"
remoteAdmin: "ubuntu"
remoteFS: "/home/ubuntu"
securityGroups: "sg-***"
stopOnTerminate: "false"
subnetId: "subnet-***"
tags: "newEC2Tag('Name', 'test1')"
type: "M5Xlarge"
zone: "us-east-2"
There are no errors when helm-chart is run. But in the Jenkins UI, under Manage cloud, there is no Amazon EC2 cloud defined. Kindly help.