chore: Add dot slash to most kustomizations and swap sops pre-commit hook to onedr0p
Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
19 files changed
+40
-35
No files matched your search
@@ -25,10 +25,15 @@ repos:
|
||||
rev: 0.4.0
|
||||
hooks:
|
||||
- id: fix-smartquotes
|
||||
- repo: https://github.com/k8s-at-home/sops-pre-commit
|
||||
- repo: https://github.com/onedr0p/sops-pre-commit
|
||||
rev: v2.1.1
|
||||
hooks:
|
||||
- id: forbid-secrets
|
||||
exclude: |
|
||||
(?x)^(
|
||||
cluster\/apps\/kube-system\/kube-vip\/rbac.yaml|
|
||||
tmpl\/.*.sops\.ya?ml
|
||||
)$
|
||||
- repo: https://github.com/gruntwork-io/pre-commit
|
||||
rev: v0.1.17
|
||||
hooks:
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
@@ -2,5 +2,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- config-pvc.yaml
|
||||
- helm-release.yaml
|
||||
- ./config-pvc.yaml
|
||||
- ./helm-release.yaml
|
||||
@@ -2,6 +2,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- echo-server
|
||||
- hajimari
|
||||
- ./namespace.yaml
|
||||
- ./echo-server
|
||||
- ./hajimari
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- secret.sops.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./secret.sops.yaml
|
||||
@@ -1,5 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- issuers
|
||||
- ./helm-release.yaml
|
||||
- ./issuers
|
||||
@@ -2,13 +2,13 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- cron-job.yaml
|
||||
- secret.sops.yaml
|
||||
- ./cron-job.yaml
|
||||
- ./secret.sops.yaml
|
||||
namespace: kube-system
|
||||
configMapGenerator:
|
||||
- name: cloudflare-ddns
|
||||
files:
|
||||
- cloudflare-ddns.sh
|
||||
- ./cloudflare-ddns.sh
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
annotations:
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- secret.sops.yaml
|
||||
- ./helm-release.yaml
|
||||
- ./secret.sops.yaml
|
||||
@@ -3,10 +3,10 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: kube-system
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
configMapGenerator:
|
||||
- name: cloudflare-proxied-networks
|
||||
files:
|
||||
- cloudflare-proxied-networks.txt
|
||||
- ./cloudflare-proxied-networks.txt
|
||||
generatorOptions:
|
||||
disableNameSuffixHash: true
|
||||
@@ -2,4 +2,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
@@ -2,8 +2,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- rbac.yaml
|
||||
- daemon-set.yaml
|
||||
- ./rbac.yaml
|
||||
- ./daemon-set.yaml
|
||||
labels:
|
||||
- pairs:
|
||||
kustomize.toolkit.fluxcd.io/prune: disabled
|
||||
@@ -2,5 +2,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- config
|
||||
- ./helm-release.yaml
|
||||
- ./config
|
||||
@@ -2,4 +2,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
@@ -2,4 +2,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
@@ -2,6 +2,6 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- default
|
||||
- kube-system
|
||||
# - system-upgrade
|
||||
- ./default
|
||||
- ./kube-system
|
||||
# - ./system-upgrade
|
||||
@@ -2,4 +2,4 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- helm-release.yaml
|
||||
- ./helm-release.yaml
|
||||
@@ -2,8 +2,8 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ./namespace.yaml
|
||||
# renovate: datasource=docker image=rancher/system-upgrade-controller
|
||||
- https://github.com/rancher/system-upgrade-controller/releases/download/v0.9.1/crd.yaml
|
||||
- system-upgrade-controller
|
||||
- kured
|
||||
- ./system-upgrade-controller
|
||||
- ./kured
|
||||
@@ -3,7 +3,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- github.com/rancher/system-upgrade-controller?ref=v0.10.0
|
||||
- plans
|
||||
- ./plans
|
||||
images:
|
||||
- name: rancher/system-upgrade-controller
|
||||
newTag: v0.10.0
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- agent.yaml
|
||||
- server.yaml
|
||||
- ./agent.yaml
|
||||
- ./server.yaml
|
||||
Reference in new issue
Block a user