Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change apiVersion to avoid failure while deploying hub #1316

Merged
merged 1 commit into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading