Update traefik helm chart to version 33.0.0
This commit is contained in:
parent
793b10fbaf
commit
d99b5686b5
4 changed files with 34 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
my_context: kubernetes
|
my_context: kubernetes
|
||||||
traefik_version: "3.2.0"
|
traefik_version: "3.2.0"
|
||||||
traefik_helm_chart_version: "32.1.1"
|
traefik_helm_chart_version: "33.0.0"
|
||||||
cluster_domain: "local"
|
cluster_domain: "local"
|
||||||
traefik_namespace: "traefik"
|
traefik_namespace: "traefik"
|
||||||
traefik_service_type: LoadBalancer
|
traefik_service_type: LoadBalancer
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,18 @@
|
||||||
- name: traefik setup
|
- name: traefik setup
|
||||||
block:
|
block:
|
||||||
|
- name: Deploy Traefik CRDs
|
||||||
|
kubernetes.core.k8s:
|
||||||
|
state: present
|
||||||
|
context: "{{ my_context }}"
|
||||||
|
apply: true
|
||||||
|
definition: "{{ lookup('url', item , split_lines=False) | from_yaml_all }}"
|
||||||
|
with_items:
|
||||||
|
# - "https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.0/standard-install.yaml"
|
||||||
|
- "https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml"
|
||||||
|
# - "https://raw.githubusercontent.com/traefik/traefik/v3.2/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml"
|
||||||
|
# ansible.builtin.command: >
|
||||||
|
# kubectl --context "{{ my_context }}" apply --server-side --force-conflicts -k
|
||||||
|
# https://github.com/traefik/traefik-helm-chart/tree/v{{ traefik_helm_chart_version }}/traefik/crds/
|
||||||
- name: namespace
|
- name: namespace
|
||||||
kubernetes.core.k8s:
|
kubernetes.core.k8s:
|
||||||
state: present
|
state: present
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ data:
|
||||||
http3:
|
http3:
|
||||||
advertisedPort: 443
|
advertisedPort: 443
|
||||||
traefik:
|
traefik:
|
||||||
address: ":9000/tcp"
|
address: ":8080/tcp"
|
||||||
metrics:
|
metrics:
|
||||||
address: ":9100/tcp"
|
address: ":9100/tcp"
|
||||||
{% if traefik_hub_token is defined %}
|
{% if traefik_hub_token is defined %}
|
||||||
|
|
@ -81,6 +81,7 @@ data:
|
||||||
{% if traefik_ondemand is defined %}
|
{% if traefik_ondemand is defined %}
|
||||||
allowEmptyServices: true
|
allowEmptyServices: true
|
||||||
{% endif%}
|
{% endif%}
|
||||||
|
kubernetesGateway: {}
|
||||||
file:
|
file:
|
||||||
directory: /etc/traefik/file/
|
directory: /etc/traefik/file/
|
||||||
watch: true
|
watch: true
|
||||||
|
|
|
||||||
|
|
@ -148,8 +148,6 @@ experimental:
|
||||||
moduleName: "github.com/sablierapp/sablier"
|
moduleName: "github.com/sablierapp/sablier"
|
||||||
version: "v1.8.1"
|
version: "v1.8.1"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
kubernetesGateway:
|
|
||||||
enabled: false
|
|
||||||
{% if traefik_hub_token is defined %}
|
{% if traefik_hub_token is defined %}
|
||||||
hub:
|
hub:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
@ -161,3 +159,21 @@ securityContext:
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
|
{% if false %}
|
||||||
|
{% raw %}
|
||||||
|
extraObjects:
|
||||||
|
- apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: "extra"
|
||||||
|
data:
|
||||||
|
something: "extra"
|
||||||
|
- |
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: "templated"
|
||||||
|
data:
|
||||||
|
something: {{ printf "templated" }}
|
||||||
|
{% endraw %}
|
||||||
|
{% endif %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue