generated from ansible-collections/collection_template
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
k8s - support select_all for state=absent and state=patched
- Loading branch information
Showing
14 changed files
with
418 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
bugfixes: | ||
- k8s - make name optional when trying to delete or patch all resources from namespace. (https://github.com/ansible-collections/kubernetes.core/issues/504) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
70 changes: 70 additions & 0 deletions
70
tests/integration/targets/k8s_delete/files/deployments.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: nginx-d | ||
labels: | ||
context: ansible | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
context: ansible | ||
template: | ||
metadata: | ||
labels: | ||
context: ansible | ||
spec: | ||
containers: | ||
- name: nginx | ||
image: nginx | ||
ports: | ||
- containerPort: 80 | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: openjdk-d | ||
labels: | ||
context: ansible | ||
spec: | ||
replicas: 2 | ||
selector: | ||
matchLabels: | ||
context: ansible | ||
template: | ||
metadata: | ||
labels: | ||
context: ansible | ||
spec: | ||
containers: | ||
- name: openjdk | ||
image: openjdk:17 | ||
command: | ||
- /bin/sh | ||
- -c | ||
- while true;do date;sleep 5; done | ||
--- | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: alpine-d | ||
labels: | ||
context: ansible | ||
spec: | ||
replicas: 3 | ||
selector: | ||
matchLabels: | ||
context: ansible | ||
template: | ||
metadata: | ||
labels: | ||
context: ansible | ||
spec: | ||
containers: | ||
- name: alpine | ||
image: alpine | ||
command: | ||
- /bin/sh | ||
- -c | ||
- while true;do date;sleep 5; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.