Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Rémi BUISSON <[email protected]>
  • Loading branch information
mloiseleur and darkweaver87 authored Dec 5, 2023
1 parent 630f47b commit a878217
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions traefik-hub/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ spec:
{{- with .kubernetesCRD.namespaces }}
- --providers.kubernetescrd.namespaces="{{ . }}"
{{- end }}
{{- with .kubernetesCRD.labelselector }}
{{- with .kubernetesCRD.labelSelector }}
- --providers.kubernetescrd.labelselector="{{ . }}"
{{- end }}
{{- with .kubernetesCRD.throttleDuration }}
Expand All @@ -111,7 +111,7 @@ spec:
{{- with .kubernetesIngress.namespaces }}
- --providers.kubernetesingress.namespaces="{{ . }}"
{{- end }}
{{- with .kubernetesIngress.labelselector }}
{{- with .kubernetesIngress.labelSelector }}
- --providers.kubernetesingress.labelselector="{{ . }}"
{{- end }}
{{- with .kubernetesIngress.ingressClass }}
Expand Down
4 changes: 2 additions & 2 deletions traefik-hub/tests/deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ tests:
token: "xxx"
certAuthFilePath: "/var/crds.pem"
namespaces: "ns1,ns2"
labelselector: "foo=bar"
labelSelector: "foo=bar"
ingressClass: "crd"
throttleDuration: "10s"
kubernetesIngress:
endpoint: "local2.tld"
token: "yyy"
certAuthFilePath: "/var/ings.pem"
namespaces: "ns3,ns4"
labelselector: "bar=foo"
labelSelector: "bar=foo"
ingressClass: "ing"
ingressEndpoint:
hostname: "ing.tld"
Expand Down
4 changes: 2 additions & 2 deletions traefik-hub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,15 @@ providers:
token:
certAuthFilePath:
namespaces:
labelselector:
labelSelector:
ingressClass:
throttleDuration:
kubernetesIngress:
endpoint:
token:
certAuthFilePath:
namespaces:
labelselector:
labelSelector:
ingressClass:
ingressEndpoint:
hostname:
Expand Down

0 comments on commit a878217

Please sign in to comment.