add app coder
This commit is contained in:
28
apps/coder/env/k3s-cluster/Chart.yaml
vendored
Normal file
28
apps/coder/env/k3s-cluster/Chart.yaml
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
apiVersion: v2
|
||||
name: coder
|
||||
description: Applications
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
# to be deployed.
|
||||
#
|
||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
type: application
|
||||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.1.0
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application. Versions are not expected to
|
||||
# follow Semantic Versioning. They should reflect the version the application is using.
|
||||
appVersion: "0.0.1"
|
||||
|
||||
dependencies:
|
||||
- name: coder
|
||||
version: 2.13.1
|
||||
repository: https://helm.coder.com/v2
|
||||
12
apps/coder/env/k3s-cluster/config.json
vendored
Normal file
12
apps/coder/env/k3s-cluster/config.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"appName": "coder",
|
||||
"userGivenName": "coder",
|
||||
"namespace": "coder",
|
||||
"destNamespace": "coder",
|
||||
"destServer": "https://kubernetes.default.svc",
|
||||
"srcPath": "apps/coder/env/k3s-cluster",
|
||||
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
|
||||
"srcTargetRevision": "",
|
||||
"labels": null,
|
||||
"annotations": null
|
||||
}
|
||||
23
apps/coder/env/k3s-cluster/values.yaml
vendored
Normal file
23
apps/coder/env/k3s-cluster/values.yaml
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
coder:
|
||||
env:
|
||||
- name: CODER_ACCESS_URL
|
||||
value: "https://coder.cluster.edward.sydney"
|
||||
- name: CODER_PG_CONNECTION_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
# You'll need to create a secret called coder-db-url with your
|
||||
# Postgres connection URL like:
|
||||
# postgres://coder:password@postgres:5432/coder?sslmode=disable
|
||||
name: coder-secrets
|
||||
key: db_url
|
||||
volumes:
|
||||
- name: coder-data
|
||||
persistentVolumeClaim:
|
||||
claimName: coder-pvc
|
||||
volumeMounts:
|
||||
- name: coder-data
|
||||
mountPath: /config
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
host: coder.cluster.edward.sydney
|
||||
Reference in New Issue
Block a user