Skip to content

Commit

Permalink
Merge branch 'arttor:main' into jobtemplate-indent
Browse files Browse the repository at this point in the history
  • Loading branch information
etrikp committed Feb 16, 2024
2 parents 286dbb2 + 2e9539c commit 55fe94a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:

# GO tests
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false

- name: Fmt
run: go fmt ./...
Expand All @@ -31,7 +32,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51.2
version: v1.54
# Dry-run generated charts in cluster
- name: Install k8s cluster
uses: helm/kind-action@v1.4.0
Expand Down
2 changes: 1 addition & 1 deletion examples/app/templates/myapp-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
app: myapp
{{- include "app.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.myappService.ports | toYaml | nindent 2 -}}
{{- .Values.myappService.ports | toYaml | nindent 2 }}
2 changes: 1 addition & 1 deletion examples/app/templates/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
app: nginx
{{- include "app.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.nginx.ports | toYaml | nindent 2 -}}
{{- .Values.nginx.ports | toYaml | nindent 2 }}
2 changes: 1 addition & 1 deletion examples/operator/templates/metrics-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
control-plane: controller-manager
{{- include "operator.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.metricsService.ports | toYaml | nindent 2 -}}
{{- .Values.metricsService.ports | toYaml | nindent 2 }}
2 changes: 1 addition & 1 deletion examples/operator/templates/webhook-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ spec:
control-plane: controller-manager
{{- include "operator.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.webhookService.ports | toYaml | nindent 2 -}}
{{- .Values.webhookService.ports | toYaml | nindent 2 }}
2 changes: 1 addition & 1 deletion pkg/processor/service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
%[2]s
{{- include "%[3]s.selectorLabels" . | nindent 4 }}
ports:
{{- .Values.%[1]s.ports | toYaml | nindent 2 -}}`
{{- .Values.%[1]s.ports | toYaml | nindent 2 }}`
)

var svcGVC = schema.GroupVersionKind{
Expand Down

0 comments on commit 55fe94a

Please sign in to comment.