weizhoublue
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
roles/kubernetes-apps/ansible/tasks/cleanup_dns.yml
|
|
@ -9,7 +9,7 @@ |
|
|
|
- inventory_hostname == groups['kube_control_plane'][0] |
|
|
|
|
|
|
|
- name: Kubernetes Apps | Register coredns service annotation `createdby` |
|
|
|
command: "{{ kubectl }} get svc -n kube-system kube-dns -o jsonpath='{ .metadata.annotations.createdby }'" |
|
|
|
command: "{{ kubectl }} get svc -n kube-system coredns -o jsonpath='{ .metadata.annotations.createdby }'" |
|
|
|
register: createdby_annotation_svc |
|
|
|
changed_when: false |
|
|
|
ignore_errors: true # noqa ignore-errors |
|
|
|