Fix: make the name of Terraform credential secret same to component name (#2399)

To make the secret name of Terraform credential more clear and avoid the
impact on the feature of #2336
This commit is contained in:
Zheng Xi Zhou
2021-09-30 13:53:49 +08:00
committed by GitHub
parent f9b218919a
commit 99411a7f01
3 changed files with 7 additions and 7 deletions
@@ -5,7 +5,7 @@ data:
kind: Initializer
metadata:
annotations:
addons.oam.dev/description: terraform provider (alibaba)
addons.oam.dev/description: Kubernetes Terraform Controller for Alibaba Cloud
addons.oam.dev/name: terraform/provider-alibaba
name: terraform-provider-alibaba
namespace: default
@@ -18,7 +18,7 @@ data:
apiVersion: v1
kind: Secret
metadata:
name: alibaba-provider-secret
name: alibaba-account-creds
namespace: vela-system
stringData:
credentials: |
@@ -57,7 +57,7 @@ data:
kind: ConfigMap
metadata:
annotations:
addons.oam.dev/description: terraform provider (alibaba)
addons.oam.dev/description: Kubernetes Terraform Controller for Alibaba Cloud
addons.oam.dev/name: terraform/provider-alibaba
labels:
addons.oam.dev/type: terraform-provider-alibaba
@@ -2,7 +2,7 @@ apiVersion: core.oam.dev/v1beta1
kind: Initializer
metadata:
annotations:
addons.oam.dev/description: terraform provider (alibaba)
addons.oam.dev/description: Kubernetes Terraform Controller for Alibaba Cloud
addons.oam.dev/name: terraform/provider-alibaba
name: terraform-provider-alibaba
namespace: default
@@ -15,7 +15,7 @@ spec:
apiVersion: v1
kind: Secret
metadata:
name: alibaba-provider-secret
name: alibaba-account-creds
namespace: vela-system
stringData:
credentials: |
@@ -2,7 +2,7 @@ apiVersion: core.oam.dev/v1beta1
kind: Initializer
metadata:
annotations:
addons.oam.dev/description: terraform provider (alibaba)
addons.oam.dev/description: Kubernetes Terraform Controller for Alibaba Cloud
addons.oam.dev/name: terraform/provider-alibaba
name: terraform-provider-alibaba
namespace: default
@@ -15,7 +15,7 @@ spec:
apiVersion: v1
kind: Secret
metadata:
name: alibaba-provider-secret
name: alibaba-account-creds
namespace: vela-system
type: Opaque
stringData: