Skip to content

Commit

Permalink
[noissue] Change apiVersion to avoid failure while deploying hub
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtluong authored and openshift-merge-bot[bot] committed Aug 5, 2024
1 parent fd4052c commit b0d22ab
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion roles/postgres/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@

- name: Check PostgreSQL status
k8s_info:
api_version: v1
api_version: apps/v1
kind: StatefulSet
namespace: '{{ ansible_operator_meta.namespace }}'
name: '{{ ansible_operator_meta.name }}-postgres-{{ postgres_version }}'
Expand Down
2 changes: 1 addition & 1 deletion roles/postgres/tasks/upgrade_postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
- name: Remove old Postgres StatefulSet
k8s:
kind: StatefulSet
api_version: v1
api_version: apps/v1
namespace: "{{ ansible_operator_meta.namespace }}"
name: "{{ ansible_operator_meta.name }}-postgres"
state: absent
Expand Down
2 changes: 1 addition & 1 deletion roles/postgres/templates/postgres.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Postgres StatefulSet.
---
apiVersion: v1
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: '{{ ansible_operator_meta.name }}-postgres-{{ postgres_version }}'
Expand Down
2 changes: 1 addition & 1 deletion roles/pulp-api/templates/pulp-api.deployment.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ ansible_operator_meta.name }}-api"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ ansible_operator_meta.name }}-content"
Expand Down
2 changes: 1 addition & 1 deletion roles/pulp-status/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

- name: Remove resource manager deployment
kubernetes.core.k8s:
api_version: v1
api_version: apps/v1
kind: Deployment
name: "{{ ansible_operator_meta.name }}-resource-manager"
namespace: "{{ ansible_operator_meta.namespace }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/pulp-web/templates/pulp-web.deployment.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ ansible_operator_meta.name }}-web"
Expand Down
2 changes: 1 addition & 1 deletion roles/pulp-worker/templates/pulp-worker.deployment.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ ansible_operator_meta.name }}-worker"
Expand Down
2 changes: 1 addition & 1 deletion roles/redis/templates/redis.deployment.yaml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
apiVersion: v1
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ ansible_operator_meta.name }}-redis"
Expand Down

0 comments on commit b0d22ab

Please sign in to comment.