Skip to content

Commit 7a004f8

Browse files
committed
feat: install homepage
1 parent b34761e commit 7a004f8

File tree

5 files changed

+125
-0
lines changed

5 files changed

+125
-0
lines changed

registry/clusters/dev/homepage.yaml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: homepage-components
5+
namespace: argocd
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "40"
8+
finalizers:
9+
- resources-finalizer.argocd.argoproj.io
10+
spec:
11+
project: default
12+
source:
13+
repoURL: https://github.com/mrsimonemms/infrastructure
14+
path: registry/components/homepage
15+
targetRevision: HEAD
16+
destination:
17+
server: https://kubernetes.default.svc
18+
namespace: homepage
19+
syncPolicy:
20+
automated:
21+
prune: true
22+
selfHeal: true
23+
syncOptions:
24+
- CreateNamespace=true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: homepage
5+
namespace: argocd
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "10"
8+
spec:
9+
project: default
10+
source:
11+
chart: homepage
12+
repoURL: https://jameswynn.github.io/helm-charts
13+
targetRevision: 2.0.1
14+
helm:
15+
valuesObject:
16+
controller:
17+
annotations:
18+
configmap.reloader.stakater.com/reload: homepage
19+
replicas: 2
20+
config:
21+
useExistingConfigMap: homepage
22+
enableRbac: true
23+
ingress:
24+
main:
25+
enabled: true
26+
annotations:
27+
kubernetes.io/tls-acme: "true"
28+
cert-manager.io/cluster-issuer: letsencrypt
29+
# cert-manager.io/cluster-issuer: letsencrypt-staging
30+
ingressClassName: nginx
31+
hosts:
32+
- host: homepage.dev.simonemms.com
33+
paths:
34+
- path: /
35+
pathType: Prefix
36+
tls:
37+
- hosts:
38+
- homepage.dev.simonemms.com
39+
secretName: homepage-tls
40+
destination:
41+
server: https://kubernetes.default.svc
42+
namespace: homepage
43+
syncPolicy:
44+
automated:
45+
prune: true
46+
selfHeal: true
47+
syncOptions:
48+
- CreateNamespace=true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: homepage
5+
namespace: homepage
6+
annotations:
7+
argocd.argoproj.io/sync-wave: "10"
8+
data:
9+
bookmarks.yaml: |
10+
- Developer:
11+
- Github:
12+
- abbr: GH
13+
href: https://github.com
14+
docker.yaml: ""
15+
kubernetes.yaml: |
16+
mode: cluster
17+
services.yaml: ""
18+
settings.yaml: ""
19+
widgets.yaml: |
20+
- kubernetes:
21+
cluster:
22+
show: true
23+
cpu: true
24+
memory: true
25+
showLabel: true
26+
label: "Cluster"
27+
nodes:
28+
show: true
29+
cpu: true
30+
memory: true
31+
showLabel: true
32+
# - resources:
33+
# backend: resources
34+
# cpu: true
35+
# expanded: true
36+
# memory: true
37+
- search:
38+
provider: google
39+
focus: true
40+
showSearchSuggestions: true
41+
target: _blank
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
resources:
4+
- application.yaml
5+
- configmap.yaml
6+
- namespace.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: homepage
5+
annotations:
6+
argocd.argoproj.io/sync-wave: "-1"

0 commit comments

Comments
 (0)