namespace is now configurable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2020-06-08 01:02:25 +02:00
parent cb59d073ec
commit 28f72bfda1

View file

@ -11,7 +11,7 @@
metadata: metadata:
name: traefik name: traefik
labels: labels:
namespace: traefik namespace: '{{ traefik_namespace }}'
- name: Create a Secret object for basic authentification - name: Create a Secret object for basic authentification
k8s: k8s:
@ -22,7 +22,7 @@
kind: Secret kind: Secret
metadata: metadata:
name: basic-auth name: basic-auth
namespace: traefik namespace: '{{ traefik_namespace }}'
type: Opaque type: Opaque
data: data:
basic_auth: "{{ basic_auth_data | b64encode }}" basic_auth: "{{ basic_auth_data | b64encode }}"
@ -51,7 +51,7 @@
api_version: v1 api_version: v1
kind: Deployment kind: Deployment
name: traefik name: traefik
namespace: traefik namespace: '{{ traefik_namespace }}'
field_selectors: field_selectors:
- spec.template.spec.containers.image - spec.template.spec.containers.image
register: traefik_actual_resources register: traefik_actual_resources