Step1:use helm target provider to deploy
Step2: change target and solution to deploy http target provider. It will fail with the following error.
(old solution component not clean)
'''
API Version: solution.symphony/v1
Kind: Instance
Metadata:
Creation Timestamp: 2024-08-01T05:33:51Z
Finalizers:
instance.solution.symphony/finalizer
Generation: 1
Resource Version: 265040
UID: a8a4dd2a-da5c-4b01-9c72-6b62188b3d8c
Spec:
Display Name: test-instance
Solution: testapp:v1
Target:
Name: test-target
Status:
Last Modified: 2024-08-01T07:41:54Z
Properties:
Deployed: 0
Status: Failed
Status - Details: failed to create provider:Bad Config: target doesn't have a 'helm.v3' role defined
Targets: 1
targets.test-target: OK -
targets.test-target.brigade: Untouched
targets.test-target.nginx: Untouched
targets.test-target.sample-http: Updated - HTTP request succeeded
Provisioning Status:
Error:
Code: Symphony: [500]
Details:
Code: OK
Details:
Code: Updated
Message: HTTP request succeeded
Target: sample-http
Target: test-target
Message: Deployment failed. failed to create provider:Bad Config: target doesn't have a 'helm.v3' role defined
Target: Symphony
Operation Id:
Status: Failed
Events:
'''
Step1:use helm target provider to deploy Step2: change target and solution to deploy http target provider. It will fail with the following error. (old solution component not clean)
''' API Version: solution.symphony/v1 Kind: Instance Metadata: Creation Timestamp: 2024-08-01T05:33:51Z Finalizers: instance.solution.symphony/finalizer Generation: 1 Resource Version: 265040 UID: a8a4dd2a-da5c-4b01-9c72-6b62188b3d8c Spec: Display Name: test-instance Solution: testapp:v1 Target: Name: test-target Status: Last Modified: 2024-08-01T07:41:54Z Properties: Deployed: 0 Status: Failed Status - Details: failed to create provider:Bad Config: target doesn't have a 'helm.v3' role defined Targets: 1 targets.test-target: OK - targets.test-target.brigade: Untouched targets.test-target.nginx: Untouched targets.test-target.sample-http: Updated - HTTP request succeeded Provisioning Status: Error: Code: Symphony: [500] Details: Code: OK Details: Code: Updated Message: HTTP request succeeded Target: sample-http Target: test-target Message: Deployment failed. failed to create provider:Bad Config: target doesn't have a 'helm.v3' role defined Target: Symphony Operation Id: Status: Failed Events:
'''