Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Commit c6f786d

Browse files
magicmatatjahupolskikiel
authored andcommitted
Rename DocsTopics to AssetGroups in broker charts (#128)
* Rename DocsTopics to AssetGroups in broker charts * Update apiGroup version
1 parent 790f160 commit c6f786d

File tree

9 files changed

+261
-261
lines changed

9 files changed

+261
-261
lines changed

addons/aws-service-broker-0.0.1/chart/aws-service-broker/templates/docu/docs.yaml

Lines changed: 72 additions & 72 deletions
Large diffs are not rendered by default.

addons/aws-service-broker-0.0.1/chart/aws-service-broker/templates/docu/job.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ spec:
2727
- |
2828
while true
2929
do
30-
echo "Get list of not ready DocsTopic:"
31-
lines=$(kubectl get DocsTopic -l chart=${LABEL_CHART} -l release=${LABEL_RELEASE} -n ${NS} \
30+
echo "Get list of not ready AssetGroup:"
31+
lines=$(kubectl get AssetGroup -l chart=${LABEL_CHART} -l release=${LABEL_RELEASE} -n ${NS} \
3232
--no-headers -o custom-columns=name:.metadata.name,phase:.status.phase | awk '$2!="Ready"' | wc -l)
33-
echo "Got ${lines} not ready Docs Topic"
33+
echo "Got ${lines} not ready Asset Group"
3434
if [[ "${lines}" -eq "0" ]];
3535
then
36-
echo "Every DocsTopic is processed. Completed."
36+
echo "Every AssetGroup is processed. Completed."
3737
exit 0
3838
fi
3939
sleep 3

addons/aws-service-broker-0.0.1/chart/aws-service-broker/templates/docu/role.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ metadata:
88
release: "{{ .Release.Name }}"
99
heritage: "{{ .Release.Service }}"
1010
rules:
11-
- apiGroups: ["cms.kyma-project.io"]
12-
resources: ["docstopics"]
11+
- apiGroups: ["rafter.kyma-project.io"]
12+
resources: ["assetgroups"]
1313
verbs: ["list"]

0 commit comments

Comments
 (0)