Skip to content

Commit b372ef4

Browse files
committed
CI: More pipeline tweaks for CT lint.
Bug: Make sure we enable Service in DaemonSet mode as well.
1 parent 0ea84a4 commit b372ef4

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
steps:
1717
- checkout
1818
- run:
19-
command: ct lint --config .circleci/ct.yaml
19+
command: |
20+
git remote add k8s https://github.com/haproxytech/helm-charts
21+
git fetch k8s master
22+
ct lint --config .circleci/ct.yaml
2023
install-charts:
2124
machine: true
2225
steps:

.circleci/ct.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
helm-extra-args: --timeout 800
1+
remote: k8s
2+
target-branch: master
23
chart-dirs: .
4+
helm-extra-args: --timeout 600

kubernetes-ingress/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
22
name: kubernetes-ingress
3-
version: 0.2.5
3+
version: 0.2.6
44
kubeVersion: ">=1.12.0-0"
55
description: A Helm chart for HAProxy Kubernetes Ingress Controller
66
keywords:

kubernetes-ingress/templates/controller-service.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
{{- if eq .Values.controller.kind "Deployment" }}
21
apiVersion: v1
32
kind: Service
43
metadata:
@@ -31,4 +30,3 @@ spec:
3130
{{- if .Values.controller.service.externalIPs }}
3231
{{ toYaml .Values.controller.service.externalIPs | indent 4 }}
3332
{{- end -}}
34-
{{- end -}}

0 commit comments

Comments
 (0)