-
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.
- Loading branch information
1 parent
7c6643a
commit d1ff8d0
Showing
13 changed files
with
148 additions
and
2 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
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
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,14 @@ | ||
local app = import '../../lib/app.libsonnet'; | ||
local ns = import 'namespace.libsonnet'; | ||
|
||
app.new( | ||
name='homepage', | ||
path='applications/base/homepage', | ||
namespace=ns.metadata.name, | ||
).withChart( | ||
name='homepage', | ||
repoURL='https://jameswynn.github.io/helm-charts', | ||
targetRevision='1.2.0', | ||
releaseName='homepage', | ||
values='values.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,21 @@ | ||
local ingress = import '../../lib/ingress.libsonnet'; | ||
local ns = import 'namespace.libsonnet'; | ||
|
||
local ingressHost = std.extVar('ingressHost'); | ||
local ingressAnnotations = std.parseYaml(std.extVar('ingressAnnotations')); | ||
|
||
ingress.new( | ||
name='homepage-ingress', | ||
namespace=ns.metadata.name, | ||
host=ingressHost, | ||
serviceName='homepage', | ||
servicePort=3000, | ||
annotations=ingressAnnotations { | ||
'gethomepage.dev/enabled': 'true', | ||
'gethomepage.dev/name': 'Homepage', | ||
'gethomepage.dev/description': 'Homepage', | ||
'gethomepage.dev/group': 'Apps', | ||
'gethomepage.dev/icon': 'homepage', | ||
'gethomepage.dev/podSelector': '', | ||
}, | ||
) |
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,4 @@ | ||
local ns = import 'namespace.libsonnet'; | ||
local ingress = import 'ingress.libsonnet'; | ||
|
||
[ns] + ingress |
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,6 @@ | ||
local k = import '../../lib/k.libsonnet'; | ||
|
||
k.core.v1.namespace.new('homepage') + | ||
k.core.v1.namespace.metadata.withAnnotationsMixin({ | ||
'linkerd.io/inject': 'enabled', | ||
}) |
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,61 @@ | ||
config: | ||
bookmarks: | ||
- Developer: | ||
- Github: | ||
- abbr: GH | ||
href: https://github.com/ | ||
|
||
services: [] | ||
|
||
widgets: | ||
- kubernetes: | ||
cluster: | ||
show: true | ||
cpu: true | ||
memory: true | ||
showLabel: true | ||
label: "cluster" | ||
nodes: | ||
show: true | ||
cpu: true | ||
memory: true | ||
showLabel: true | ||
- logo: | ||
icon: mdi-drag-horizontal-variant | ||
- longhorn: | ||
expanded: true | ||
total: true | ||
labels: true | ||
nodes: true | ||
- logo: | ||
icon: mdi-drag-horizontal-variant | ||
|
||
kubernetes: | ||
mode: cluster | ||
|
||
settings: | ||
showStats: true | ||
layout: | ||
Apps: | ||
icon: mdi-apps | ||
Observability: | ||
icon: mdi-chart-bell-curve-cumulative | ||
Cluster Management: | ||
icon: mdi-tools | ||
providers: | ||
longhorn: | ||
url: http://longhorn-frontend.longhorn-system.svc.cluster.local | ||
username: '' | ||
password: '' | ||
|
||
# The service account is necessary to allow discovery of other services | ||
serviceAccount: | ||
create: true | ||
name: homepage | ||
|
||
# This enables the service account to access the necessary resources | ||
enableRbac: true | ||
|
||
ingress: | ||
main: | ||
enabled: false |
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
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 @@ | ||
import '../../../base/homepage/application.libsonnet' |
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