Bump version to v1beta1

This commit is contained in:
Matthew Jones
2020-06-04 10:33:12 -04:00
parent aef500d9c9
commit dbd8d4e9fb
12 changed files with 30 additions and 16 deletions

View File

@@ -10,7 +10,7 @@
tasks:
- name: Create Custom Resource Definition
k8s:
definition: "{{ lookup('file', '/'.join([deploy_dir, 'crds/tower_v1alpha1_tower_crd.yaml'])) }}"
definition: "{{ lookup('file', '/'.join([deploy_dir, 'crds/tower_v1beta1_tower_crd.yaml'])) }}"
- name: Ensure specified namespace is present
k8s:

View File

@@ -26,7 +26,7 @@
deploy_dir: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') }}/deploy"
pull_policy: Never
operator_image: tower.ansible.com/tower-operator:testing
custom_resource: "{{ lookup('file', '/'.join([deploy_dir, 'crds/tower_v1alpha1_tower_cr_molecule.yaml'])) | from_yaml }}"
custom_resource: "{{ lookup('file', '/'.join([deploy_dir, 'crds/tower_v1beta1_tower_cr_molecule.yaml'])) | from_yaml }}"
tasks:
@@ -66,7 +66,7 @@
kind: Namespace
api_version: v1
- name: Create the tower.ansible.com/v1alpha1.Tower
- name: Create the tower.ansible.com/Tower Resource
k8s:
state: present
namespace: '{{ custom_resource.metadata.namespace }}'

View File

@@ -35,7 +35,7 @@
pull_policy: Never
operator_image: tower.ansible.com/tower-operator:testing
# Change this to _awx to test AWX, _tower to test Tower.
custom_resource: "{{ lookup('file', '/'.join([deploy_dir, 'crds/tower_v1alpha1_tower_cr_awx.yaml'])) | from_yaml }}"
custom_resource: "{{ lookup('file', '/'.join([deploy_dir, 'crds/tower_v1beta1_tower_cr_awx.yaml'])) | from_yaml }}"
tasks:
- block:
@@ -73,7 +73,7 @@
kind: Namespace
api_version: v1
- name: Create the tower.ansible.com/v1alpha1.Tower
- name: Create the tower.ansible.com Tower Resource
k8s:
state: present
namespace: '{{ custom_resource.metadata.namespace }}'