-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 40b8677
Showing
388 changed files
with
17,680 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
; https://editorconfig.org/ | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[{Makefile,go.mod,go.sum,*.go,.gitmodules}] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[*.md] | ||
indent_size = 4 | ||
trim_trailing_whitespace = false | ||
|
||
[{Dockerfile,*.bash,*.sh}] | ||
indent_style = space | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#shellcheck disable=SC2148,SC2155 | ||
# Kubernetes | ||
export KUBECONFIG="$(expand_path ./kubernetes/main/kubeconfig)" | ||
export SOPS_AGE_KEY_FILE="$(expand_path ./age.key)" | ||
export TALOSCONFIG="$(expand_path ./kubernetes/main/talosconfig)" | ||
# Taskfile | ||
export TASK_X_ENV_PRECEDENCE=1 | ||
export TASK_X_MAP_VARIABLES=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto eol=lf | ||
*.sops.* diff=sopsdiffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
# Areas | ||
area/docs: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- "docs/**/*" | ||
- "README.md" | ||
area/github: | ||
- changed-files: | ||
- any-glob-to-any-file: ".github/**/*" | ||
area/kubernetes: | ||
- changed-files: | ||
- any-glob-to-any-file: "kubernetes/**/*" | ||
area/taskfile: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- ".taskfiles/**/*" | ||
- "Taskfile.yaml" | ||
# Clusters | ||
cluster/main: | ||
- changed-files: | ||
- any-glob-to-any-file: "kubernetes/main/**/*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
# Areas | ||
- name: area/docs | ||
color: "0e8a16" | ||
- name: area/github | ||
color: "0e8a16" | ||
- name: area/kubernetes | ||
color: "0e8a16" | ||
- name: area/taskfile | ||
color: "0e8a16" | ||
# Clusters | ||
- name: cluster/main | ||
color: "ffc300" | ||
# Renovate Types | ||
- name: renovate/container | ||
color: "027fa0" | ||
- name: renovate/github-action | ||
color: "027fa0" | ||
- name: renovate/grafana-dashboard | ||
color: "027fa0" | ||
- name: renovate/github-release | ||
color: "027fa0" | ||
- name: renovate/helm | ||
color: "027fa0" | ||
# Semantic Types | ||
- name: type/digest | ||
color: "ffeC19" | ||
- name: type/patch | ||
color: "ffeC19" | ||
- name: type/minor | ||
color: "ff9800" | ||
- name: type/major | ||
color: "f6412d" | ||
# Uncategorized | ||
- name: community | ||
color: "370fb2" | ||
- name: hold | ||
color: "ee0701" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended", | ||
"docker:enableMajor", | ||
"replacements:k8s-registry-move", | ||
":automergeBranch", | ||
":disableRateLimiting", | ||
":dependencyDashboard", | ||
":semanticCommits", | ||
":skipStatusChecks", | ||
":timezone(Europe/Sofia)", | ||
"github>Darkfella91/home-ops//.github/renovate/allowedVersions.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/autoMerge.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/clusters.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/commitMessage.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/customManagers.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/grafanaDashboards.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/groups.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/labels.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/packageRules.json5", | ||
"github>Darkfella91/home-ops//.github/renovate/semanticCommits.json5" | ||
], | ||
"dependencyDashboardTitle": "Renovate Dashboard 🤖", | ||
"suppressNotifications": ["prEditedNotification", "prIgnoreNotification"], | ||
"onboarding": false, | ||
"requireConfig": "ignored", | ||
"ignorePaths": ["**/*.sops.*", "**/.archive/**", "**/resources/**"], | ||
"flux": { | ||
"fileMatch": [ | ||
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" | ||
] | ||
}, | ||
"helm-values": { | ||
"fileMatch": [ | ||
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" | ||
] | ||
}, | ||
"kubernetes": { | ||
"fileMatch": [ | ||
"(^|/)\\.taskfiles/.+\\.ya?ml(?:\\.j2)?$", | ||
"(^|/)kubernetes/.+\\.ya?ml(?:\\.j2)?$" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["docker"], | ||
"matchPackagePatterns": ["postgresql"], | ||
"allowedVersions": "<18" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"description": ["Auto-merge container digests updates for trusted containers"], | ||
"matchDatasources": ["docker"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"matchUpdateTypes": ["digest"], | ||
"matchPackagePatterns": ["ghcr.io/bjw-s", "ghcr.io/onedr0p"] | ||
}, | ||
{ | ||
"description": ["Auto-merge GitHub Actions for minor and patch"], | ||
"matchManagers": ["github-actions"], | ||
"matchDatasources": ["github-tags"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"matchUpdateTypes": ["minor", "patch"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"description": ["Separate PRs for main cluster"], | ||
"matchFileNames": ["**/kubernetes/main/**"], | ||
"additionalBranchPrefix": "main-" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"commitMessageTopic": "{{depName}}", | ||
"commitMessageExtra": "to {{newVersion}}", | ||
"commitMessageSuffix": "", | ||
"packageRules": [ | ||
{ | ||
"matchDatasources": ["helm"], | ||
"commitMessageTopic": "chart {{depName}}" | ||
}, | ||
{ | ||
"matchDatasources": ["docker"], | ||
"commitMessageTopic": "image {{depName}}" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"description": ["Process YAML custom dependencies"], | ||
"fileMatch": [ | ||
"(^|/)kubernetes/.+\\.env$", | ||
"(^|/)kubernetes/.+\\.ya?ml$" | ||
], | ||
"matchStrings": [ | ||
// # renovate: datasource=github-releases depName=k3s-io/k3s | ||
// k3s_release_version: &version v1.29.0+k3s1 | ||
// # renovate: datasource=helm depName=cilium repository=https://helm.cilium.io | ||
// version: 1.15.1 | ||
// # renovate: datasource=docker depName=ghcr.io/siderolabs/kubelet | ||
// KUBERNETES_VERSION=v1.31.1 | ||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\\n.+(:\\s|=)(&\\S+\\s)?(?<currentValue>\\S+)", | ||
// # renovate: datasource=github-releases depName=rancher/system-upgrade-controller | ||
// https://github.com/rancher/system-upgrade-controller/releases/download/v0.13.2/crd.yaml | ||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)\\n.+/(?<currentValue>(v|\\d)[^/]+)", | ||
"datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( repository=(?<registryUrl>\\S+))?\n.+?\"(?<currentValue>\\S+)\"" | ||
], | ||
"datasourceTemplate": "{{#if datasource}}{{{datasource}}}{{else}}github-releases{{/if}}" | ||
}, | ||
{ | ||
"customType": "regex", | ||
"description": ["Process CloudnativePG Postgresql version"], | ||
"fileMatch": ["(^|/)kubernetes/.+\\.ya?ml$"], | ||
"matchStrings": ["imageName: (?<depName>\\S+):(?<currentValue>.*\\-.*)"], | ||
"datasourceTemplate": "docker", | ||
"versioningTemplate": "redhat" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"customDatasources": { | ||
"grafana-dashboards": { | ||
"defaultRegistryUrlTemplate": "https://grafana.com/api/dashboards/{{packageName}}", | ||
"format": "json", | ||
"transformTemplates": ["{\"releases\":[{\"version\": $string(revision)}]}"] | ||
} | ||
}, | ||
"customManagers": [ | ||
{ | ||
"customType": "regex", | ||
"description": ["Process Grafana dashboards"], | ||
"fileMatch": ["(^|/)kubernetes/.+\\.ya?ml$"], | ||
"matchStrings": ["depName=\"(?<depName>.*)\"\\n(?<indentation>\\s+)gnetId: (?<packageName>\\d+)\\n.+revision: (?<currentValue>\\d+)"], | ||
"autoReplaceStringTemplate": "depName=\"{{{depName}}}\"\n{{{indentation}}}gnetId: {{{packageName}}}\n{{{indentation}}}revision: {{{newValue}}}", | ||
"datasourceTemplate": "custom.grafana-dashboards", | ||
"versioningTemplate": "regex:^(?<major>\\d+)$" | ||
} | ||
], | ||
"packageRules": [ | ||
{ | ||
"addLabels": ["renovate/grafana-dashboard"], | ||
"automerge": true, | ||
"automergeType": "branch", | ||
"matchDatasources": ["custom.grafana-dashboards"], | ||
"matchUpdateTypes": ["major"], | ||
"semanticCommitType": "chore", | ||
"semanticCommitScope": "grafana-dashboards", | ||
"commitMessageTopic": "dashboard {{depName}}", | ||
"commitMessageExtra": "( {{currentVersion}} → {{newVersion}} )" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"description": ["1Password Connect Group"], | ||
"groupName": "1Password Connnect", | ||
"matchPackagePatterns": ["1password/connect"], | ||
"matchDatasources": ["docker"], | ||
"group": { | ||
"commitMessageTopic": "{{{groupName}}} group" | ||
}, | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"description": ["Actions Runner Controller Group"], | ||
"groupName": "Actions Runner Controller", | ||
"matchPackagePatterns": ["gha-runner-scale-set"], | ||
"matchDatasources": ["docker", "helm"], | ||
"group": { | ||
"commitMessageTopic": "{{{groupName}}} group" | ||
}, | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"description": ["Flux Group"], | ||
"groupName": "Flux", | ||
"matchPackagePatterns": ["fluxcd"], | ||
"matchDatasources": ["docker", "github-tags"], | ||
"versioning": "semver", | ||
"group": { | ||
"commitMessageTopic": "{{{groupName}}} group" | ||
}, | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"description": ["Intel Device Plugins Group"], | ||
"groupName": "Intel-Device-Plugins", | ||
"matchPackagePatterns": ["intel-device-plugins"], | ||
"matchDatasources": ["helm"], | ||
"group": { | ||
"commitMessageTopic": "{{{groupName}}} group" | ||
}, | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"description": ["Rook-Ceph Group"], | ||
"groupName": "Rook-Ceph", | ||
"matchPackagePatterns": ["rook.ceph"], | ||
"matchDatasources": ["helm"], | ||
"group": { | ||
"commitMessageTopic": "{{{groupName}}} group" | ||
}, | ||
"separateMinorPatch": true | ||
}, | ||
{ | ||
"description": ["Talos Group"], | ||
"groupName": "Talos", | ||
"matchPackagePatterns": ["siderolabs/talosctl", "siderolabs/installer"], | ||
"matchDatasources": ["docker"], | ||
"group": { | ||
"commitMessageTopic": "{{{groupName}}} group" | ||
}, | ||
"separateMinorPatch": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"matchUpdateTypes": ["major"], | ||
"labels": ["type/major"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["minor"], | ||
"labels": ["type/minor"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["patch"], | ||
"labels": ["type/patch"] | ||
}, | ||
{ | ||
"matchUpdateTypes": ["digest"], | ||
"labels": ["type/digest"] | ||
}, | ||
{ | ||
"matchDatasources": ["docker"], | ||
"addLabels": ["renovate/container"] | ||
}, | ||
{ | ||
"matchDatasources": ["helm"], | ||
"addLabels": ["renovate/helm"] | ||
}, | ||
{ | ||
"matchDatasources": ["github-releases", "github-tags"], | ||
"addLabels": ["renovate/github-release"] | ||
}, | ||
{ | ||
"matchManagers": ["github-actions"], | ||
"addLabels": ["renovate/github-action"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"description": ["Loose versioning for non-semver packages"], | ||
"matchDatasources": ["docker"], | ||
"matchPackagePatterns": ["cross-seed", "plex"], | ||
"versioning": "loose" | ||
}, | ||
{ | ||
"description": ["Custom schedule for frequently updated packages"], | ||
"matchDataSources": ["docker", "helm"], | ||
"matchPackagePatterns": ["postgresql", "reloader"], | ||
"schedule": ["on the first day of the month"] | ||
} | ||
] | ||
} |
Oops, something went wrong.