Skip to content

Commit 96d7969

Browse files
define repositories and modify runtime chart
1 parent f5485fd commit 96d7969

File tree

6 files changed

+23
-25
lines changed

6 files changed

+23
-25
lines changed

apps/repositories/console.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1beta2
2+
kind: HelmRepository
3+
metadata:
4+
name: console
5+
annotations:
6+
"helm.sh/hook": post-install,post-upgrade
7+
spec:
8+
interval: 5m0s
9+
url: https://pluralsh.github.io/console

apps/repositories/runtime.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
apiVersion: source.toolkit.fluxcd.io/v1beta2
2+
kind: HelmRepository
3+
metadata:
4+
name: runtime
5+
annotations:
6+
"helm.sh/hook": post-install,post-upgrade
7+
spec:
8+
interval: 5m0s
9+
url: https://pluralsh.github.io/bootstrap

apps/services/console.yaml

Whitespace-only changes.

charts/runtime/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: runtime
33
description: Sets up the basic dependencies needed to get a network stack running
44
type: application
5-
version: 0.1.9
5+
version: 0.1.10
66
appVersion: "0.1.0"
77
dependencies:
88
- name: external-dns

charts/runtime/templates/helmrepositories.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,3 @@ metadata:
1818
spec:
1919
interval: 5m0s
2020
url: https://flagger.app
21-
---
22-
apiVersion: source.toolkit.fluxcd.io/v1beta2
23-
kind: HelmRepository
24-
metadata:
25-
name: console
26-
annotations:
27-
"helm.sh/hook": post-install,post-upgrade
28-
spec:
29-
interval: 5m0s
30-
url: https://pluralsh.github.io/console
31-
---
32-
apiVersion: source.toolkit.fluxcd.io/v1beta2
33-
kind: HelmRepository
34-
metadata:
35-
name: bootstrap
36-
annotations:
37-
"helm.sh/hook": post-install,post-upgrade
38-
spec:
39-
interval: 5m0s
40-
url: https://pluralsh.github.io/bootstrap

templates/setup/cd.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ resource "plural_git_repository" "infra" {
2626
resource "plural_service_deployment" "helm-repositories" {
2727
name = "helm-repositories"
2828
namespace = kubernetes_namespace.infra.metadata.name
29-
repository {
29+
repository = {
3030
id = plural_git_repository.infra.id
3131
ref = "main"
3232
folder = "apps/repositories"
3333
}
34-
cluster {
34+
cluster = {
3535
id = data.plural_cluster.mgmt.id
3636
}
3737
protect = true
@@ -40,12 +40,12 @@ resource "plural_service_deployment" "helm-repositories" {
4040
resource "plural_service_deployment" "apps" {
4141
name = "apps"
4242
namespace = kubernetes_namespace.infra.metadata.name
43-
repository {
43+
repository = {
4444
id = plural_git_repository.infra.id
4545
ref = "main"
4646
folder = "apps/services"
4747
}
48-
cluster {
48+
cluster = {
4949
id = data.plural_cluster.mgmt.id
5050
}
5151
protect = true

0 commit comments

Comments
 (0)