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
|
||||
traefik_version: "3.2.0"
|
||||
traefik_helm_chart_version: "32.1.1"
|
||||
traefik_helm_chart_version: "33.0.0"
|
||||
cluster_domain: "local"
|
||||
traefik_namespace: "traefik"
|
||||
traefik_service_type: LoadBalancer
|
||||
|
|
|
|||
|
|
@ -1,5 +1,18 @@
|
|||
- name: traefik setup
|
||||
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
|
||||
kubernetes.core.k8s:
|
||||
state: present
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ data:
|
|||
http3:
|
||||
advertisedPort: 443
|
||||
traefik:
|
||||
address: ":9000/tcp"
|
||||
address: ":8080/tcp"
|
||||
metrics:
|
||||
address: ":9100/tcp"
|
||||
{% if traefik_hub_token is defined %}
|
||||
|
|
@ -81,6 +81,7 @@ data:
|
|||
{% if traefik_ondemand is defined %}
|
||||
allowEmptyServices: true
|
||||
{% endif%}
|
||||
kubernetesGateway: {}
|
||||
file:
|
||||
directory: /etc/traefik/file/
|
||||
watch: true
|
||||
|
|
|
|||
|
|
@ -148,8 +148,6 @@ experimental:
|
|||
moduleName: "github.com/sablierapp/sablier"
|
||||
version: "v1.8.1"
|
||||
{% endif %}
|
||||
kubernetesGateway:
|
||||
enabled: false
|
||||
{% if traefik_hub_token is defined %}
|
||||
hub:
|
||||
enabled: true
|
||||
|
|
@ -161,3 +159,21 @@ securityContext:
|
|||
readOnlyRootFilesystem: true
|
||||
seccompProfile:
|
||||
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