Skip to content

Commit e90ae66

Browse files
committed
Update telemetry CR for enabling CK
1 parent dcf1fdd commit e90ae66

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

ci/cloudkitty-post_deploy.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,17 @@
3232
# Since the memcached instance is not omitted when empty, CK tries to resolve it and connect.
3333
# The serviceUser should not be omitted when it is unset, since the values is used to create the cloudkitty.conf file.
3434
# BUG: serviceUser value is not being defaulted correctly when it is omitted from the CR: expected "cloudkitty", got "" (same for the other config values mentioned above, all were set to "".
35-
- name: Patch telemetry CR
35+
# # set the CK enabled to false in telemetry and create a CloudKitty CR
36+
- name: Patch telemetry CR to enable CK
3637
ansible.builtin.shell:
3738
cmd: |
3839
oc apply -f - <<EOF
3940
apiVersion: telemetry.openstack.org/v1beta1
4041
kind: Telemetry
4142
metadata:
42-
name: telemetry-2
43+
name: telemetry
4344
namespace: openstack
4445
spec:
45-
ceilometer:
46-
enabled: false
47-
autoscaling:
48-
enabled: false
49-
logging:
50-
enabled: false
5146
cloudkitty:
5247
enabled: true
5348
secret: osp-secret
@@ -67,6 +62,7 @@
6762
serviceUser: cloudkitty
6863
EOF
6964
register: output
65+
7066
- name: wait for the update to telemetry
7167
ansible.builtin.shell:
7268
cmd: |

0 commit comments

Comments
 (0)