Skip to content

Commit

Permalink
add operator block to values
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Apr 20, 2024
1 parent 95fbacd commit 1588683
Show file tree
Hide file tree
Showing 8 changed files with 132 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/runtime/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: runtime
description: Sets up the basic dependencies needed to get a network stack running
type: application
version: 0.1.20
version: 0.1.21
appVersion: "0.1.0"
dependencies:
- name: external-dns
Expand Down
2 changes: 1 addition & 1 deletion charts/runtime/templates/helmrepositories.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ if .Values.flux.enabled }}
{{ if .Values.flux2.enabled }}
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
Expand Down
3 changes: 3 additions & 0 deletions charts/runtime/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ plural-certmanager-webhook:
namespace: cert-manager
serviceAccountName: cert-manager

operator:
enabled: true

application:
enabled: true
registry: dkr.plural.sh/bootstrap
Expand Down
Empty file added existing/README.md
Empty file.
7 changes: 7 additions & 0 deletions existing/setup/cluster.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: Cluster
metadata:
name: mgmt
namespace: infra
spec:
handle: mgmt
7 changes: 7 additions & 0 deletions existing/setup/gitrepository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: GitRepository
metadata:
name: infra
namespace: infra
spec:
url: # your repository url
39 changes: 39 additions & 0 deletions existing/setup/helmrepository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: flagger
spec:
interval: 5m0s
url: https://flagger.app
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: cert-manager
spec:
interval: 5m0s
url: https://charts.jetstack.io
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: bootstrap
spec:
interval: 5m0s
url: https://pluralsh.github.io/bootstrap
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: console
spec:
interval: 5m0s
url: https://pluralsh.github.io/console
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: flux
spec:
interval: 5m0s
url: https://fluxcd-community.github.io/helm-charts
74 changes: 74 additions & 0 deletions existing/setup/servicedeployment.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
apiVersion: deployments.plural.sh/v1alpha1
kind: ServiceDeployment
metadata:
name: console
namespace: infra
spec:
namespace: plrl-console
helm:
version: "0.x.x"
chart: console
valuesFrom:
namespace: infra
name: console-values
repository:
namespace: infra
name: console
clusterRef:
kind: Cluster
name: mgmt
namespace: infra
---
apiVersion: deployments.plural.sh/v1alpha1
kind: ServiceDeployment
metadata:
name: cert-manager
namespace: infra
spec:
namespace: cert-manager
git:
folder: helm-values
ref: main
repositoryRef:
kind: GitRepository
name: infra
namespace: infra
helm:
version: "v1.13.3"
chart: cert-manager
valuesFiles:
- certmanager.yaml
repository:
namespace: plural-runtime
name: cert-manager
clusterRef:
kind: Cluster
name: mgmt
namespace: infra
---
apiVersion: deployments.plural.sh/v1alpha1
kind: ServiceDeployment
metadata:
name: plrl-runtime
namespace: infra
spec:
namespace: plrl-runtime
git:
folder: helm-values
ref: main
repositoryRef:
kind: GitRepository
name: infra
namespace: infra
helm:
version: "0.x.x"
chart: runtime
valuesFiles:
- certmanager.yaml
repository:
namespace: infra
name: bootstrap
clusterRef:
kind: Cluster
name: mgmt
namespace: infra

0 comments on commit 1588683

Please sign in to comment.