-
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.
Merge pull request #3 from luissimas/feature/flux-ui
ci: separate workflows
- Loading branch information
Showing
8 changed files
with
76 additions
and
22 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
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 @@ | ||
name: test | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: ["main"] | ||
|
||
jobs: | ||
validate-manifests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup yq | ||
uses: fluxcd/pkg/actions/yq@main | ||
- name: Setup kubeconform | ||
uses: fluxcd/pkg/actions/kubeconform@main | ||
- name: Setup kustomize | ||
uses: fluxcd/pkg/actions/kustomize@main | ||
- name: Validate manifests | ||
run: ./scripts/validate.sh |
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
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ kind: Kustomization | |
resources: | ||
- cert-manager | ||
- sealed-secrets | ||
- weave-dashboard |
5 changes: 5 additions & 0 deletions
5
infrastructure/controllers/weave-dashboard/kustomization.yaml
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,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- repository.yaml | ||
- release.yaml |
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 @@ | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||
kind: HelmRelease | ||
metadata: | ||
annotations: | ||
metadata.weave.works/description: | ||
This is the Weave GitOps Dashboard. It provides | ||
a simple way to get insights into your GitOps workloads. | ||
name: weave-dashboard | ||
namespace: flux-system | ||
spec: | ||
chart: | ||
spec: | ||
chart: weave-gitops | ||
sourceRef: | ||
kind: HelmRepository | ||
name: weave-dashboard | ||
interval: 1h0m0s | ||
values: | ||
adminUser: | ||
create: true | ||
passwordHash: $2a$10$JA02v0.HgwaJHwvimZii7OJ2rdBRTmeaMOtZ7Mq7TsOXoLY.JST9S | ||
username: admin |
18 changes: 18 additions & 0 deletions
18
infrastructure/controllers/weave-dashboard/repository.yaml
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,18 @@ | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
annotations: | ||
metadata.weave.works/description: | ||
This is the source location for the Weave GitOps | ||
Dashboard's helm chart. | ||
labels: | ||
app.kubernetes.io/component: ui | ||
app.kubernetes.io/created-by: weave-gitops-cli | ||
app.kubernetes.io/name: weave-gitops-dashboard | ||
app.kubernetes.io/part-of: weave-gitops | ||
name: weave-dashboard | ||
namespace: flux-system | ||
spec: | ||
interval: 1h0m0s | ||
type: oci | ||
url: oci://ghcr.io/weaveworks/charts |
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