Skip to content

Commit

Permalink
Merge branch 'main' into fharper/check-signed
Browse files Browse the repository at this point in the history
  • Loading branch information
fharper authored Aug 16, 2023
2 parents 2e2d2b5 + 0659ca5 commit b0af66c
Show file tree
Hide file tree
Showing 19 changed files with 65 additions and 22 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/check-yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: YAML Validation
on: [push, workflow_dispatch]

jobs:
yaml-check:
runs-on: ubuntu-latest
steps:

- name: Checkout this repository
uses: actions/[email protected]

- name: Lint YAML files
uses: karancode/[email protected]
with:
yamllint_config_datapath: .yamllint.yml
yamllint_strict: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
extends: default

rules:
line-length: disable
truthy:
check-keys: false
5 changes: 3 additions & 2 deletions argo-events/application.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-events
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: argo-events
Expand All @@ -23,4 +24,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true
5 changes: 3 additions & 2 deletions argo-rollouts/application.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argo-rollouts
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: argo-rollouts
Expand All @@ -23,4 +24,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true
5 changes: 3 additions & 2 deletions datadog-agent/application.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand Down Expand Up @@ -44,7 +45,7 @@ spec:
selfHeal: true
syncOptions:
- CreateNamespace=true
# ### NOTE: uncomment below to establish a datadog apm service for your cluster to leverage
# NOTE: uncomment below to establish a datadog apm service for your cluster to leverage
# ---
# apiVersion: v1
# kind: Service
Expand All @@ -57,4 +58,4 @@ spec:
# ports:
# - protocol: TCP
# port: 8126
# targetPort: 8126
# targetPort: 8126
1 change: 1 addition & 0 deletions datadog-agent/external-secret.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
Expand Down
1 change: 1 addition & 0 deletions goldilocks/application.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand Down
1 change: 1 addition & 0 deletions kratix/application.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand Down
1 change: 1 addition & 0 deletions kubernetes-dashboard/application.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand Down
9 changes: 5 additions & 4 deletions kubernetes-dashboard/clusterolebinding.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: k8s-dashboard-clusterrole
annotations:
argocd.argoproj.io/sync-wave: "0"
subjects:
- kind: ServiceAccount
name: k8s-dashboard-sa
namespace: default
- kind: ServiceAccount
name: k8s-dashboard-sa
namespace: default
roleRef:
kind: ClusterRole
name: admin
apiGroup: rbac.authorization.k8s.io
apiGroup: rbac.authorization.k8s.io
3 changes: 2 additions & 1 deletion kubernetes-dashboard/serviceaccount.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: k8s-dashboard-sa
namespace: default
namespace: default
3 changes: 2 additions & 1 deletion kyverno/kyverno-policies.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kyverno-policies
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: kyverno
Expand Down
3 changes: 2 additions & 1 deletion kyverno/kyverno.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kyverno
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: kyverno
Expand Down
5 changes: 3 additions & 2 deletions kyverno/policy-reporter.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: policy-reporter
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: kyverno
Expand Down Expand Up @@ -33,4 +34,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true
5 changes: 3 additions & 2 deletions opencost/opencost.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand All @@ -6,7 +7,7 @@ metadata:
name: opencost
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: opencost
Expand All @@ -25,4 +26,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true
3 changes: 2 additions & 1 deletion opencost/prometheus.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand All @@ -6,7 +7,7 @@ metadata:
name: prometheus
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: prometheus
Expand Down
1 change: 1 addition & 0 deletions polaris/application.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
Expand Down
5 changes: 3 additions & 2 deletions testkube/application.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: testkube
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: testkube
Expand All @@ -23,4 +24,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true
5 changes: 3 additions & 2 deletions tracetest/application.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: tracetest
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
- resources-finalizer.argocd.argoproj.io
spec:
destination:
namespace: tracetest
Expand All @@ -23,4 +24,4 @@ spec:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
- CreateNamespace=true

0 comments on commit b0af66c

Please sign in to comment.