Skip to content

Commit

Permalink
CI: More pipeline tweaks for CT lint.
Browse files Browse the repository at this point in the history
Bug: Make sure we enable Service in DaemonSet mode as well.
  • Loading branch information
dkorunic committed Dec 19, 2019
1 parent 0ea84a4 commit b372ef4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
steps:
- checkout
- run:
command: ct lint --config .circleci/ct.yaml
command: |
git remote add k8s https://github.com/haproxytech/helm-charts
git fetch k8s master
ct lint --config .circleci/ct.yaml
install-charts:
machine: true
steps:
Expand Down
4 changes: 3 additions & 1 deletion .circleci/ct.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
helm-extra-args: --timeout 800
remote: k8s
target-branch: master
chart-dirs: .
helm-extra-args: --timeout 600
2 changes: 1 addition & 1 deletion kubernetes-ingress/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: kubernetes-ingress
version: 0.2.5
version: 0.2.6
kubeVersion: ">=1.12.0-0"
description: A Helm chart for HAProxy Kubernetes Ingress Controller
keywords:
Expand Down
2 changes: 0 additions & 2 deletions kubernetes-ingress/templates/controller-service.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{- if eq .Values.controller.kind "Deployment" }}
apiVersion: v1
kind: Service
metadata:
Expand Down Expand Up @@ -31,4 +30,3 @@ spec:
{{- if .Values.controller.service.externalIPs }}
{{ toYaml .Values.controller.service.externalIPs | indent 4 }}
{{- end -}}
{{- end -}}

0 comments on commit b372ef4

Please sign in to comment.