Skip to content

Commit

Permalink
[ci] prepare: Use k8s module to create project instead of shell
Browse files Browse the repository at this point in the history
  • Loading branch information
elfiesmelfie committed Aug 24, 2023
1 parent b4623c1 commit a9ec785
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ci/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@
name: rhol_crc
tasks_from: add_crc_creds.yml

- name: Create project
- name: Create the service-telemetry project
kubernetes.core.k8s:
api_version: v1
kind: Namespace
name: "service-telemetry"
state: present
retries: 3
delay: 30
ansible.builtin.shell:
cmd: |
oc new-project service-telemetry
changed_when: false

0 comments on commit a9ec785

Please sign in to comment.