Skip to content

Commit 5ce7bf3

Browse files
Added chart versions:
coder/coder: - 2.30.2 haproxy/haproxy: - 1.49.0
1 parent 90f6402 commit 5ce7bf3

File tree

93 files changed

+5178
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+5178
-1
lines changed

assets/coder/coder-2.30.2.tgz

13.3 KB
Binary file not shown.

assets/haproxy/haproxy-1.49.0.tgz

39.2 KB
Binary file not shown.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
24+
Makefile
25+
artifacthub-repo.yml
26+
27+
tests
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
dependencies:
2+
- name: libcoder
3+
repository: file://../libcoder
4+
version: 0.1.0
5+
digest: sha256:5c9a99109258073b590a9f98268490ef387fde24c0c7c7ade9c1a8c7ef5e6e10
6+
generated: "2023-08-08T07:27:19.677972411Z"
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
annotations:
2+
catalog.cattle.io/certified: partner
3+
catalog.cattle.io/display-name: Coder
4+
catalog.cattle.io/kube-version: '>=1.19-0'
5+
catalog.cattle.io/release-name: coder
6+
apiVersion: v2
7+
appVersion: 2.30.2
8+
dependencies:
9+
- name: libcoder
10+
repository: file://../libcoder
11+
version: 0.1.0
12+
description: Remote development environments on your infrastructure
13+
home: https://github.com/coder/coder
14+
icon: file://assets/icons/coder.png
15+
keywords:
16+
- coder
17+
- terraform
18+
kubeVersion: '>=1.19-0'
19+
maintainers:
20+
- email: support@coder.com
21+
name: Coder Technologies, Inc.
22+
url: https://coder.com/contact
23+
name: coder
24+
sources:
25+
- https://github.com/coder/coder/tree/main/helm/coder
26+
type: application
27+
version: 2.30.2
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# Coder Helm Chart
2+
3+
This directory contains the Helm chart used to deploy Coder onto a Kubernetes
4+
cluster. It contains the minimum required components to run Coder on Kubernetes,
5+
and notably (compared to Coder Classic) does not include a database server.
6+
7+
## Getting Started
8+
9+
> **Warning**: The main branch in this repository does not represent the
10+
> latest release of Coder. Please reference our installation docs for
11+
> instructions on a tagged release.
12+
13+
View
14+
[our docs](https://coder.com/docs/install/kubernetes)
15+
for detailed installation instructions.
16+
17+
## Values
18+
19+
Please refer to [values.yaml](values.yaml) for available Helm values and their
20+
defaults.
21+
22+
A good starting point for your values file is:
23+
24+
```yaml
25+
coder:
26+
# You can specify any environment variables you'd like to pass to Coder
27+
# here. Coder consumes environment variables listed in
28+
# `coder server --help`, and these environment variables are also passed
29+
# to the workspace provisioner (so you can consume them in your Terraform
30+
# templates for auth keys etc.).
31+
#
32+
# Please keep in mind that you should not set `CODER_HTTP_ADDRESS`,
33+
# `CODER_TLS_ENABLE`, `CODER_TLS_CERT_FILE` or `CODER_TLS_KEY_FILE` as
34+
# they are already set by the Helm chart and will cause conflicts.
35+
env:
36+
- name: CODER_ACCESS_URL
37+
value: "https://coder.example.com"
38+
- name: CODER_PG_CONNECTION_URL
39+
valueFrom:
40+
secretKeyRef:
41+
# You'll need to create a secret called coder-db-url with your
42+
# Postgres connection URL like:
43+
# postgres://coder:password@postgres:5432/coder?sslmode=disable
44+
name: coder-db-url
45+
key: url
46+
47+
# This env enables the Prometheus metrics endpoint.
48+
- name: CODER_PROMETHEUS_ADDRESS
49+
value: "0.0.0.0:2112"
50+
# For production deployments, we recommend configuring your own GitHub
51+
# OAuth2 provider and disabling the default one.
52+
- name: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE
53+
value: "false"
54+
tls:
55+
secretNames:
56+
- my-tls-secret-name
57+
```
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Coder/coder
2+
## Overview
3+
Coder provides development environments in your public and private clouds. Environments are defined with Terraform, connected through a secure high-speed tunnel, and automatically shut down when not in use to save on costs. Coder gives engineering teams the flexibility to use the cloud for workloads that are most beneficial to them.
4+
5+
Developers can connect to Coder workspaces using the tools and IDEs they know and love including VS Code Remote, JetBrains Gateway, SSH as well as web IDEs such as JupyterLab, code-server, RStudio, and web terminals.
6+
## Highlights
7+
- Onboard developers in seconds instead of days
8+
- Define development environments in Terraform (EC2 VMs, Kubernetes Pods, Docker Containers, etc.)
9+
- Keep source code within your infrastructure, and use RBAC with existing authentication systems
10+
- Automatically shutdown idle resources to save on costs
11+
## Getting Started
12+
Review the Coder Kubernetes [installation instructions](https://coder.com/docs/install/kubernetes) for required prerequisites and options for the [values.yaml](https://github.com/coder/coder/blob/main/helm/coder/values.yaml) used by the chart.
13+
## Resources
14+
- [Coder Documentation](https://coder.com/docs)
15+
- [Coder Quickstart Guide](https://coder.com/docs/tutorials/quickstart)
16+
- [Discord Community](https://discord.gg/coder)
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
apiVersion: v2
2+
appVersion: 0.1.0
3+
description: Coder library chart
4+
home: https://github.com/coder/coder
5+
maintainers:
6+
- email: support@coder.com
7+
name: Coder Technologies, Inc.
8+
url: https://coder.com/contact
9+
name: libcoder
10+
type: library
11+
version: 0.1.0
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
{{- define "libcoder.deployment.tpl" -}}
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: {{ include "coder.name" .}}
6+
namespace: {{ .Release.Namespace }}
7+
labels:
8+
{{- include "coder.labels" . | nindent 4 }}
9+
{{- with .Values.coder.labels }}
10+
{{- toYaml . | nindent 4 }}
11+
{{- end }}
12+
annotations: {{ toYaml .Values.coder.annotations | nindent 4}}
13+
spec:
14+
replicas: {{ .Values.coder.replicaCount }}
15+
selector:
16+
matchLabels:
17+
{{- include "coder.selectorLabels" . | nindent 6 }}
18+
template:
19+
metadata:
20+
labels:
21+
{{- include "coder.labels" . | nindent 8 }}
22+
{{- with .Values.coder.podLabels }}
23+
{{- toYaml . | nindent 8 }}
24+
{{- end }}
25+
annotations:
26+
{{- include "coder.componentAnnotation" . | nindent 8 }}
27+
{{- with .Values.coder.podAnnotations }}
28+
{{- toYaml . | nindent 8 }}
29+
{{- end }}
30+
31+
spec:
32+
serviceAccountName: {{ .Values.coder.serviceAccount.name | quote }}
33+
{{- with .Values.coder.priorityClassName }}
34+
priorityClassName: {{ . | quote }}
35+
{{- end }}
36+
{{- with .Values.coder.podSecurityContext }}
37+
securityContext:
38+
{{- toYaml . | nindent 8 }}
39+
{{- end }}
40+
restartPolicy: Always
41+
{{- with .Values.coder.image.pullSecrets }}
42+
imagePullSecrets:
43+
{{- toYaml . | nindent 8 }}
44+
{{- end }}
45+
terminationGracePeriodSeconds: 60
46+
{{- with .Values.coder.affinity }}
47+
affinity:
48+
{{- toYaml . | nindent 8 }}
49+
{{- end }}
50+
{{- with .Values.coder.tolerations }}
51+
tolerations:
52+
{{- toYaml . | nindent 8 }}
53+
{{- end }}
54+
{{- with .Values.coder.nodeSelector }}
55+
nodeSelector:
56+
{{ toYaml . | nindent 8 }}
57+
{{- end }}
58+
{{- with .Values.coder.topologySpreadConstraints }}
59+
topologySpreadConstraints:
60+
{{- toYaml . | nindent 8 }}
61+
{{- end }}
62+
{{- with .Values.coder.initContainers }}
63+
initContainers:
64+
{{ toYaml . | nindent 8 }}
65+
{{- end }}
66+
containers: []
67+
{{- include "coder.volumes" . | nindent 6 }}
68+
{{- end -}}
69+
{{- define "libcoder.deployment" -}}
70+
{{- include "libcoder.util.merge" (append . "libcoder.deployment.tpl") -}}
71+
{{- end -}}
72+
73+
{{- define "libcoder.containerspec.tpl" -}}
74+
name: coder
75+
image: {{ include "coder.image" . | quote }}
76+
imagePullPolicy: {{ .Values.coder.image.pullPolicy }}
77+
command:
78+
{{- toYaml .Values.coder.command | nindent 2 }}
79+
resources:
80+
{{- if and (hasKey .Values.coder "resources") (not (empty .Values.coder.resources)) }}
81+
{{- toYaml .Values.coder.resources | nindent 2 }}
82+
{{- else }}
83+
limits:
84+
cpu: 2000m
85+
memory: 4096Mi
86+
requests:
87+
cpu: 2000m
88+
memory: 4096Mi
89+
{{- end }}
90+
lifecycle:
91+
{{- toYaml .Values.coder.lifecycle | nindent 2 }}
92+
securityContext: {{ toYaml .Values.coder.securityContext | nindent 2 }}
93+
{{ include "coder.volumeMounts" . }}
94+
{{- end -}}
95+
{{- define "libcoder.containerspec" -}}
96+
{{- include "libcoder.util.merge" (append . "libcoder.containerspec.tpl") -}}
97+
{{- end -}}
98+
99+
{{- define "libcoder.serviceaccount.tpl" -}}
100+
apiVersion: v1
101+
kind: ServiceAccount
102+
metadata:
103+
name: {{ .Values.coder.serviceAccount.name | quote }}
104+
namespace: {{ .Release.Namespace }}
105+
annotations: {{ toYaml .Values.coder.serviceAccount.annotations | nindent 4 }}
106+
labels:
107+
{{- include "coder.labels" . | nindent 4 }}
108+
{{- with .Values.coder.serviceAccount.labels }}
109+
{{- toYaml . | nindent 4 }}
110+
{{- end }}
111+
{{- end -}}
112+
{{- define "libcoder.serviceaccount" -}}
113+
{{- include "libcoder.util.merge" (append . "libcoder.serviceaccount.tpl") -}}
114+
{{- end -}}

0 commit comments

Comments
 (0)