Skip to content

Commit f312563

Browse files
committed
chore: correct the remaining linting errors
ref: #5
1 parent 50ec5e1 commit f312563

File tree

26 files changed

+52
-21
lines changed

26 files changed

+52
-21
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Temp Files
2+
*.tmp.*

manifests/alert-manager/base/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ resources:
2323

2424

2525
patches:
26+
# yamllint disable rule:indentation
2627
- target:
2728
kind: Alertmanager
2829
name: cluster
@@ -34,7 +35,7 @@ patches:
3435
- op: replace
3536
path: /spec/externalUrl
3637
value: alert-manager.local
37-
38+
# yamllint enable rule:indentation
3839

3940
replacements:
4041
- source:

manifests/alert-manager/components/dashboard/GrafanaDashboard-AlertManager.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ spec:
1414
dashboards: grafana
1515
grafanaCom:
1616
id: 9578
17-
revision: 4 # as @ 19-09-23
17+
revision: 4 # as @ 19-09-23

manifests/alert-manager/components/ingress/kustomization.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,3 @@ resources:
3333
# kind: Ingress
3434
# name: alert-manager
3535
# version: v1
36-

manifests/alert-manager/overlays/production/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ labels:
1616

1717

1818
patches:
19+
# yamllint disable rule:indentation
1920
- target:
2021
kind: Alertmanager
2122
name: cluster
@@ -27,6 +28,7 @@ patches:
2728
- op: replace
2829
path: /spec/externalUrl
2930
value: alert-manager.local
31+
# yamllint enable rule:indentation
3032

3133
#
3234
# Ingress Setup

manifests/gitlab-operator/base/kustomization.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,10 @@ labels:
1919
app.kubernetes.io/part-of: gitlab-runner-operator
2020

2121

22-
# crds:
23-
# # config/default/kustomization.yaml
24-
# # - https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator//config/crd?ref=e8254fb99328edd9e78f6646e8abc2f7a42fdd96
25-
# - https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/raw/e8254fb99328edd9e78f6646e8abc2f7a42fdd96/config/crd/bases/apps.gitlab.com_runners.yaml
26-
27-
2822
images:
29-
# image details fetched from https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/releases using file `operator.k8s.yaml`
23+
# image details fetched from
24+
# https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/releases using file
25+
# `operator.k8s.yaml`
3026
# config/manager/kustomization.tpl.yaml
3127
- name: controller
3228
newName: |-
@@ -64,6 +60,7 @@ patches:
6460
https://gitlab.com/gitlab-org/gl-openshift/gitlab-runner-operator/-/raw/160ee6bf2ad4e05d0e673d0652cc47bd6100ddec/config/manager/auth_proxy_patch.yaml
6561
6662
# # Operator only has arch AMD64
63+
# yamllint disable rule:indentation
6764
- patch: |-
6865
- op: replace
6966
path: /spec/template/spec/affinity
@@ -80,3 +77,4 @@ patches:
8077
kind: Deployment
8178
name: controller-manager
8279
version: v1
80+
# yamllint enable rule:indentation

manifests/gitlab-operator/components/runner/ConfigMap.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
app.kubernetes.io/component: ci-cd-runner
77
name: gitlab-runner
88
data:
9+
# yamllint disable rule:indentation
910
config.toml: |
1011
[[runners]]
1112
@@ -37,3 +38,4 @@ data:
3738
3839
[runners.kubernetes.node_tolerations]
3940
"CriticalAddonsOnly=true" = "NoExecute"
41+
# yamllint enable rule:indentation

manifests/gitlab-operator/components/runner/Runner.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ spec:
1717
podSpec:
1818
- name: gitlab-runner
1919
patchType: merge
20+
# yamllint disable rule:indentation
2021
patch: |
2122
securityContext:
2223
runAsNonRoot: false
24+
# yamllint enable rule:indentation
2325
token: gitlab-runner-token

manifests/gitlab-operator/components/runner/kustomization.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ patches:
1414
- target:
1515
kind: Runner
1616
name: gitlab-runner
17+
# yamllint disable rule:indentation
1718
patch: |-
1819
# Runner Tags
1920
# - op: add
@@ -23,3 +24,4 @@ patches:
2324
- op: add
2425
path: /spec/runnerImage
2526
value: registry.gitlab.com/gitlab-org/gitlab-runner:v17.6.0
27+
# yamllint enable rule:indentation

manifests/gitlab-operator/components/service-monitor/kustomization.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ replacements:
3737

3838

3939
patches:
40-
40+
# yamllint disable rule:indentation
4141
- patch: |-
4242
- op: remove
4343
path: /metadata/labels/app.kubernetes.io~1managed-by
@@ -48,6 +48,7 @@ patches:
4848
app.kubernetes.io/component: metrics
4949
app.kubernetes.io/name: prometheus
5050
app.kubernetes.io/part-of: gitlab-runner-operator
51+
# yamllint enable rule:indentation
5152
target:
5253
kind: ServiceMonitor
5354
name: controller-manager-metrics-monitor

0 commit comments

Comments
 (0)