Fix collections names
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
ba1319aeef
commit
daaed8df51
1 changed files with 10 additions and 10 deletions
|
|
@ -1,7 +1,7 @@
|
|||
- name: traefik setup
|
||||
block:
|
||||
- name: namespace
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
context: "{{ my_context }}"
|
||||
merge_type: merge
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
namespace: '{{ traefik_namespace }}'
|
||||
|
||||
- name: Create a Secret object for basic authentification
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
context: "{{ my_context }}"
|
||||
namespace: '{{ traefik_namespace }}'
|
||||
|
|
@ -30,7 +30,7 @@
|
|||
- basic_auth|bool
|
||||
|
||||
- name: Add host label for traefik deployment
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
context: "{{ my_context }}"
|
||||
definition:
|
||||
|
|
@ -50,7 +50,7 @@
|
|||
context: "{{ my_context }}"
|
||||
name: crowdsec-traefik-bouncer
|
||||
release_namespace: "{{ traefik_namespace }}"
|
||||
create_namespace: yes
|
||||
create_namespace: true
|
||||
chart_ref: crowdsec/crowdsec-traefik-bouncer
|
||||
chart_version: "{{ crowdsec_traefik_bouncer_chart_version }}"
|
||||
values:
|
||||
|
|
@ -71,7 +71,7 @@
|
|||
- traefik_crowdsec_bouncer_apikey is defined
|
||||
|
||||
# - name: Get Deployment information object
|
||||
# k8s_info:
|
||||
# kubernetes.core.k8s_info:
|
||||
# context: "{{ my_context }}"
|
||||
# api_version: v1
|
||||
# kind: DaemonSet
|
||||
|
|
@ -86,7 +86,7 @@
|
|||
# register: traefik_actual_version
|
||||
#
|
||||
# - name: Remove old traefik version {{ traefik_actual_version.stdout }}
|
||||
# k8s:
|
||||
# kubernetes.core.k8s:
|
||||
# state: "absent"
|
||||
# context: "{{ my_context }}"
|
||||
# resource_definition: "{{ lookup('template', item) | from_yaml }}"
|
||||
|
|
@ -111,12 +111,12 @@
|
|||
values: "{{ lookup('template', 'traefik-helm-value.yaml.j2') | from_yaml }}"
|
||||
|
||||
- name: Install traefik configuration
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: "present"
|
||||
context: "{{ my_context }}"
|
||||
namespace: '{{ traefik_namespace }}'
|
||||
# merge_type: merge
|
||||
apply: yes
|
||||
apply: true
|
||||
resource_definition: "{{ lookup('template', item) | from_yaml }}"
|
||||
with_items:
|
||||
# - "{{ lookup('vars', 'traefik_' + traefik_version | regex_replace('[.]','_') + '_list') }}"
|
||||
|
|
@ -129,12 +129,12 @@
|
|||
# - traefik-defaultbackend.yml.j2
|
||||
|
||||
- name: Install traefik plugin's
|
||||
k8s:
|
||||
kubernetes.core.k8s:
|
||||
state: "present"
|
||||
context: "{{ my_context }}"
|
||||
namespace: '{{ traefik_namespace }}'
|
||||
# merge_type: merge
|
||||
apply: yes
|
||||
apply: true
|
||||
resource_definition: "{{ lookup('template', item) | from_yaml_all }}"
|
||||
with_items:
|
||||
- traefik-ondemand-plugin.yml.j2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue