Skip to content
This repository was archived by the owner on Jul 4, 2023. It is now read-only.

Commit 0cf6ffb

Browse files
author
Maciek Wójcik
committed
formatting
1 parent ffddb11 commit 0cf6ffb

17 files changed

+90
-105
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4-
title: ''
4+
title: ""
55
labels: kind/bug
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
# Details

.github/ISSUE_TEMPLATE/feature-request.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4-
title: ''
4+
title: ""
55
labels: kind/enhancement
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
# Details

.github/ISSUE_TEMPLATE/question.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
22
name: Question
33
about: Ask a question to the maintainer
4-
title: ''
4+
title: ""
55
labels: kind/question
6-
assignees: ''
7-
6+
assignees: ""
87
---
98

109
# Details

.github/PULL_REQUEST_TEMPLATE.md

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
**Applicable issues**
1414

1515
<!-- Enter any applicable Issues here (You can reference an issue using #) -->
16+
1617
- fixes #
1718

1819
**Additional information**

.github/renovate.json5

+60-72
Original file line numberDiff line numberDiff line change
@@ -1,119 +1,107 @@
11
{
2-
"enabled": true,
3-
"semanticCommits": "enabled",
4-
"dependencyDashboard": true,
5-
"dependencyDashboardTitle": "Renovate Dashboard",
6-
"suppressNotifications": ["prIgnoreNotification"],
7-
"rebaseWhen": "conflicted",
8-
"schedule": [
9-
"every weekend"
10-
],
2+
enabled: true,
3+
semanticCommits: "enabled",
4+
dependencyDashboard: true,
5+
dependencyDashboardTitle: "Renovate Dashboard",
6+
suppressNotifications: ["prIgnoreNotification"],
7+
rebaseWhen: "conflicted",
8+
schedule: ["every weekend"],
119
// set up ignored deps
12-
"ignoreDeps": [
10+
ignoreDeps: [
1311
"ghcr.io/fluxcd/helm-controller",
1412
"ghcr.io/fluxcd/image-automation-controller",
1513
"ghcr.io/fluxcd/image-reflector-controller",
1614
"ghcr.io/fluxcd/kustomize-controller",
1715
"ghcr.io/fluxcd/notification-controller",
18-
"ghcr.io/fluxcd/source-controller"
16+
"ghcr.io/fluxcd/source-controller",
1917
],
2018
"pre-commit": {
21-
"enabled": true
19+
enabled: true,
2220
},
23-
"flux": {
24-
"fileMatch": [
25-
"cluster/.+\\.ya?ml$"
26-
]
21+
flux: {
22+
fileMatch: ["cluster/.+\\.ya?ml$"],
2723
},
2824
"helm-values": {
29-
"fileMatch": [
30-
"cluster/.+\\.ya?ml$"
31-
]
25+
fileMatch: ["cluster/.+\\.ya?ml$"],
3226
},
33-
"kubernetes": {
34-
"fileMatch": [
27+
kubernetes: {
28+
fileMatch: [
3529
"cluster/.+\\.ya?ml$",
36-
"provision/ansible/playbooks/templates/.+\\.ya?ml.j2$"
37-
]
30+
"provision/ansible/playbooks/templates/.+\\.ya?ml.j2$",
31+
],
3832
},
39-
"regexManagers": [
33+
regexManagers: [
4034
// regexManager to read and process HelmRelease files
4135
{
42-
"fileMatch": [
43-
"cluster/.+\\.ya?ml$"
44-
],
45-
"matchStrings": [
36+
fileMatch: ["cluster/.+\\.ya?ml$"],
37+
matchStrings: [
4638
// helm releases
47-
"registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n"
39+
"registryUrl=(?<registryUrl>.*?)\n *chart: (?<depName>.*?)\n *version: (?<currentValue>.*)\n",
4840
],
49-
"datasourceTemplate": "helm"
41+
datasourceTemplate: "helm",
5042
},
5143
// regexManager to read and process cert-manager CRD's
5244
{
53-
"fileMatch": [
54-
"cluster/crds/cert-manager/.+\\.ya?ml$"
45+
fileMatch: ["cluster/crds/cert-manager/.+\\.ya?ml$"],
46+
matchStrings: [
47+
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/",
5548
],
56-
"matchStrings": [
57-
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n.*\\/(?<currentValue>.*?)\\/"
58-
],
59-
"datasourceTemplate": "helm"
49+
datasourceTemplate: "helm",
6050
},
6151
// regexManager to read and process Traefik CRD's
6252
{
63-
"fileMatch": [
64-
"cluster/crds/traefik/.+\\.ya?ml$"
65-
],
66-
"matchStrings": [
67-
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n"
53+
fileMatch: ["cluster/crds/traefik/.+\\.ya?ml$"],
54+
matchStrings: [
55+
"registryUrl=(?<registryUrl>.*?) chart=(?<depName>.*?)\n *tag: v(?<currentValue>.*)\n",
6856
],
69-
"datasourceTemplate": "helm"
70-
}
57+
datasourceTemplate: "helm",
58+
},
7159
],
72-
"packageRules": [
60+
packageRules: [
7361
// setup datasources
7462
{
75-
"matchDatasources": ["helm"],
76-
"separateMinorPatch": true,
77-
"ignoreDeprecated": true
63+
matchDatasources: ["helm"],
64+
separateMinorPatch: true,
65+
ignoreDeprecated: true,
7866
},
7967
// global docker datasource settings
8068
{
81-
"matchDatasources": ["docker"],
82-
"enabled": true,
83-
"commitMessageTopic": "container image {{depName}}",
84-
"commitMessageExtra": "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
85-
"matchUpdateTypes": ["major", "minor", "patch"]
69+
matchDatasources: ["docker"],
70+
enabled: true,
71+
commitMessageTopic: "container image {{depName}}",
72+
commitMessageExtra: "to {{#if isSingleVersion}}v{{{newVersion}}}{{else}}{{{newValue}}}{{/if}}",
73+
matchUpdateTypes: ["major", "minor", "patch"],
8674
},
8775
// add labels according to package and update types
8876
{
89-
"matchDatasources": ["docker"],
90-
"matchUpdateTypes": ["major"],
91-
"labels": ["renovate/image", "dep/major"]
77+
matchDatasources: ["docker"],
78+
matchUpdateTypes: ["major"],
79+
labels: ["renovate/image", "dep/major"],
9280
},
9381
{
94-
"matchDatasources": ["docker"],
95-
"matchUpdateTypes": ["minor"],
96-
"labels": ["renovate/image", "dep/minor"]
82+
matchDatasources: ["docker"],
83+
matchUpdateTypes: ["minor"],
84+
labels: ["renovate/image", "dep/minor"],
9785
},
9886
{
99-
"matchDatasources": ["docker"],
100-
"matchUpdateTypes": ["patch"],
101-
"labels": ["renovate/image", "dep/patch"]
87+
matchDatasources: ["docker"],
88+
matchUpdateTypes: ["patch"],
89+
labels: ["renovate/image", "dep/patch"],
10290
},
10391
{
104-
"matchDatasources": ["helm"],
105-
"matchUpdateTypes": ["major"],
106-
"labels": ["renovate/helm", "dep/major"]
92+
matchDatasources: ["helm"],
93+
matchUpdateTypes: ["major"],
94+
labels: ["renovate/helm", "dep/major"],
10795
},
10896
{
109-
"matchDatasources": ["helm"],
110-
"matchUpdateTypes": ["minor"],
111-
"labels": ["renovate/helm", "dep/minor"]
97+
matchDatasources: ["helm"],
98+
matchUpdateTypes: ["minor"],
99+
labels: ["renovate/helm", "dep/minor"],
112100
},
113101
{
114-
"matchDatasources": ["helm"],
115-
"matchUpdateTypes": ["patch"],
116-
"labels": ["renovate/helm", "dep/patch"]
117-
}
118-
]
102+
matchDatasources: ["helm"],
103+
matchUpdateTypes: ["patch"],
104+
labels: ["renovate/helm", "dep/patch"],
105+
},
106+
],
119107
}

README.md

+12-13
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,18 @@ The repo was initialized with [k8s@home template](https://github.com/k8s-at-home
1212

1313
:round_pushpin: Some useful tools used in this project.
1414

15-
| Tool | Purpose | Minimum version | Required |
16-
|--------------------------------------------------------------------|---------------------------------------------------------------------|:---------------:|:--------:|
17-
| [kubectl](https://kubernetes.io/docs/tasks/tools/) | Allows you to run commands against Kubernetes clusters | `1.21.0` ||
18-
| [flux](https://toolkit.fluxcd.io/) | Operator that manages your k8s cluster based on your Git repository | `0.12.3` ||
19-
| [SOPS](https://github.com/mozilla/sops) | Encrypts k8s secrets with GnuPG | `3.7.1` ||
20-
| [GnuPG](https://gnupg.org/) | Encrypts and signs your data | `2.2.27` ||
21-
| [direnv](https://github.com/direnv/direnv) | Exports env vars based on present working directory | `2.28.0` ||
22-
| [pre-commit](https://github.com/pre-commit/pre-commit) | Runs checks during `git commit` | `2.12.0` ||
23-
| [kustomize](https://kustomize.io/) | Template-free way to customize application configuration | `4.1.0` ||
24-
| [helm](https://helm.sh/) | Manage Kubernetes applications | `3.5.4` ||
25-
| [go-task](https://github.com/go-task/task) | A task runner / simpler Make alternative written in Go | `3.7.0` ||
26-
| [prettier](https://github.com/prettier/prettier) | Prettier is an opinionated code formatter. | `2.3.2` ||
27-
15+
| Tool | Purpose | Minimum version | Required |
16+
| ------------------------------------------------------ | ------------------------------------------------------------------- | :-------------: | :------: |
17+
| [kubectl](https://kubernetes.io/docs/tasks/tools/) | Allows you to run commands against Kubernetes clusters | `1.21.0` ||
18+
| [flux](https://toolkit.fluxcd.io/) | Operator that manages your k8s cluster based on your Git repository | `0.12.3` ||
19+
| [SOPS](https://github.com/mozilla/sops) | Encrypts k8s secrets with GnuPG | `3.7.1` ||
20+
| [GnuPG](https://gnupg.org/) | Encrypts and signs your data | `2.2.27` ||
21+
| [direnv](https://github.com/direnv/direnv) | Exports env vars based on present working directory | `2.28.0` ||
22+
| [pre-commit](https://github.com/pre-commit/pre-commit) | Runs checks during `git commit` | `2.12.0` ||
23+
| [kustomize](https://kustomize.io/) | Template-free way to customize application configuration | `4.1.0` ||
24+
| [helm](https://helm.sh/) | Manage Kubernetes applications | `3.5.4` ||
25+
| [go-task](https://github.com/go-task/task) | A task runner / simpler Make alternative written in Go | `3.7.0` ||
26+
| [prettier](https://github.com/prettier/prettier) | Prettier is an opinionated code formatter. | `2.3.2` ||
2827

2928
# :open_file_folder:&nbsp; Repository structure
3029

cluster/apps/home/frigate/config-pvc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ spec:
1010
resources:
1111
requests:
1212
storage: 1Gi
13-
storageClassName: longhorn
13+
storageClassName: longhorn

cluster/apps/kube-system/descheduler/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
resources:
5-
- helm-release.yaml
5+
- helm-release.yaml

cluster/apps/kube-system/kured/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
resources:
55
- helm-release.yaml
6-
- prometheus-rule.yaml
6+
- prometheus-rule.yaml

cluster/apps/kube-system/kured/prometheus-rule.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ spec:
2626
expr: kured_reboot_required > 0
2727
for: 5m
2828
labels:
29-
severity: warning
29+
severity: warning

cluster/apps/kube-system/node-feature-discovery/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
resources:
5-
- helm-release.yaml
5+
- helm-release.yaml

cluster/apps/kube-system/reloader/kustomization.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
apiVersion: kustomize.config.k8s.io/v1beta1
33
kind: Kustomization
44
resources:
5-
- helm-release.yaml
5+
- helm-release.yaml

cluster/apps/media/prowlarr/config-pvc.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ spec:
1010
resources:
1111
requests:
1212
storage: 128Mi
13-
storageClassName: nfs-client
13+
storageClassName: nfs-client

cluster/base/flux-system/charts/helm/kubernetes-sigs-descheduler-charts.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
spec:
88
interval: 30m
99
url: https://kubernetes-sigs.github.io/descheduler
10-
timeout: 2m
10+
timeout: 2m

cluster/base/flux-system/charts/helm/stakater-charts.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
spec:
88
interval: 30m
99
url: https://stakater.github.io/stakater-charts
10-
timeout: 2m
10+
timeout: 2m

cluster/base/flux-system/charts/helm/vernemq-charts.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
spec:
88
interval: 30m
99
url: https://vernemq.github.io/docker-vernemq
10-
timeout: 2m
10+
timeout: 2m

cluster/base/flux-system/charts/helm/weaveworks-kured-charts.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ metadata:
77
spec:
88
interval: 30m
99
url: https://weaveworks.github.io/kured
10-
timeout: 2m
10+
timeout: 2m

0 commit comments

Comments
 (0)