diff --git a/charts/kubebb-core/Chart.yaml b/charts/kubebb-core/Chart.yaml index a297045..a89430f 100644 --- a/charts/kubebb-core/Chart.yaml +++ b/charts/kubebb-core/Chart.yaml @@ -6,7 +6,7 @@ annotations: core.kubebb.k8s.com.cn/restricted-namespaces: "kubebb-system" description: Kubebb Core provides core implementations on Component Lifecycle Management.Our design and development follows operator pattern which extends kubernetes APIs. type: application -version: v0.1.24 +version: v0.1.25 appVersion: v0.1.6 icon: https://avatars.githubusercontent.com/u/85277200 keywords: diff --git a/charts/kubebb-core/templates/pipeline-reliability.yaml b/charts/kubebb-core/templates/pipeline-reliability.yaml index b62d2e3..395042d 100644 --- a/charts/kubebb-core/templates/pipeline-reliability.yaml +++ b/charts/kubebb-core/templates/pipeline-reliability.yaml @@ -2,7 +2,7 @@ apiVersion: tekton.dev/v1beta1 kind: Task metadata: - name: {{ .Release.Name }}-reliability-helm-lint + name: rating-reliability-linting annotations: rating.core.kubebb.k8s.com.cn/type: reliability rating.core.kubebb.k8s.com.cn/weight: "1" @@ -32,7 +32,7 @@ spec: apiVersion: tekton.dev/v1beta1 kind: Pipeline metadata: - name: {{ .Release.Name }}-reliability + name: rating-reliability-pipeline annotations: tekton.dev/tags: {{ .Release.Name }}-reliability tekton.dev/displayName: "{{ .Release.Name }}" @@ -46,18 +46,22 @@ spec: - name: COMPONENT_NAME description: >- component name + type: string - name: REPOSITORY_NAME description: repository name default: "kubebb" + type: string - name: VERSION description: component version + type: string - name: URL description: the full URL of the component tgz file. + type: string results: - name: HELM_LINT - value: $(tasks.{{ .Release.Name }}-helm-lint.results.LINT) + value: $(tasks.rating-reliability-linting.results.LINT) tasks: - - name: {{ .Release.Name }}-helm-lint + - name: rating-reliability-linting retries: 2 taskRef: resolver: cluster @@ -65,7 +69,7 @@ spec: - name: kind value: task - name: name - value: {{ .Release.Name }}-reliability-helm-lint + value: rating-reliability-linting - name: namespace value: {{ .Release.Namespace }} params: diff --git a/charts/kubebb-core/templates/pipeline-security.yaml b/charts/kubebb-core/templates/pipeline-security.yaml index 1974d8e..622e027 100644 --- a/charts/kubebb-core/templates/pipeline-security.yaml +++ b/charts/kubebb-core/templates/pipeline-security.yaml @@ -2,7 +2,7 @@ apiVersion: tekton.dev/v1beta1 kind: Task metadata: - name: {{ .Release.Name }}-security-rback + name: rating-security-rback annotations: rating.core.kubebb.k8s.com.cn/type: security rating.core.kubebb.k8s.com.cn/weight: "1" @@ -16,6 +16,7 @@ spec: - name: version type: string - name: repository + type: string results: - name: RBACCM type: string @@ -49,7 +50,7 @@ spec: apiVersion: tekton.dev/v1beta1 kind: Pipeline metadata: - name: {{ .Release.Name }}-security + name: rating-security-pipeline annotations: tekton.dev/tags: {{ .Release.Name }}-security tekton.dev/displayName: "{{ .Release.Name }}" @@ -63,18 +64,22 @@ spec: - name: COMPONENT_NAME description: >- component name + type: string - name: REPOSITORY_NAME description: repository name default: "kubebb" + type: string - name: VERSION description: component version + type: string - name: URL description: the full URL of the component tgz file. + type: string results: - name: RBACCM - value: $(tasks.{{ .Release.Name }}-rback.results.RBACCM) + value: $(tasks.rating-security-rback.results.RBACCM) tasks: - - name: {{ .Release.Name }}-rback + - name: rating-security-rback retries: 2 taskRef: resolver: cluster @@ -82,7 +87,7 @@ spec: - name: kind value: task - name: name - value: {{ .Release.Name }}-security-rback + value: rating-security-rback - name: namespace value: {{ .Release.Namespace }} params: