Skip to content

Commit 78d4331

Browse files
author
Software Releases | The Pins Team
committed
chore(helm-charts): Update package repo index and update charts
Signed-off-by: Software Releases | The Pins Team <[email protected]>
1 parent 8a451ee commit 78d4331

File tree

16 files changed

+944
-0
lines changed

16 files changed

+944
-0
lines changed

charts/starter-pack/.helmignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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/

charts/starter-pack/Chart.yaml

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
apiVersion: v2
2+
3+
# For name, it should be <template-slug-here> because most of the Kubernetes
4+
# deployment guides we wrote usually used the alias 'cdrs-deploy' for our
5+
# Helm Charts repo. The upstream repo (cdr/code-server) is excluded from that rule.
6+
name: starter-pack
7+
# For description, update this to tell users what to included in your chart.
8+
description: A Helm chart for deploying code-server, with all the essientials like Cloudflare Tunnel and croc.
9+
10+
# A chart can be either an 'application' or a 'library' chart.
11+
#
12+
# Application charts are a collection of templates that can be packaged into versioned archives
13+
# to be deployed.
14+
#
15+
# Library charts provide useful utilities or functions for the chart developer. They're included as
16+
# a dependency of application charts to inject those utilities and functions into the rendering
17+
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
18+
type: application
19+
20+
# This is the chart version. This version number should be incremented each time you make changes
21+
# to the chart and its templates, including the app version.
22+
# Versions are expected to follow Semantic Versioning (https://semver.org/)
23+
version: 0.1.1
24+
25+
# This is the version number of the application being deployed. This version number should be
26+
# incremented each time you make changes to the application. Versions are not expected to
27+
# follow Semantic Versioning. They should reflect the version the application is using.
28+
# TL;DR: Check the base Docker image in the root Dockerfile and update this version
29+
appVersion: 3.10.2
30+
31+
# List of Helm Charts maintainers, this is requored for human reviews to get passed
32+
# before being merged to our Helm Charts repo on GitHub Pages.
33+
maintainers:
34+
- name: 'Andrei Jiroh Halili' # Your screen name on GitHub or legal name
35+
email: '[email protected]' # Your email address you generally used for commits
36+
url: 'https://github.com/AndreiJirohHaliliDev2006' # GitHub profile
37+
38+
keywords:
39+
- starter-pack
40+
# Comment out this one below if you ever forked me instead of using
41+
# the repo generator tool.
42+
- github-repo-templates
43+
44+
# Homepage and sources should be your repo's URL.
45+
home: "https://github.com/code-server-boilerplates/starter-pack"
46+
sources:
47+
- https://github.com/code-server-boilerplates/starter-pack
48+
# Don't forget to include code-server repo URL.
49+
- https://github.com/cdr/code-server
50+
51+
# Artifact Hub annonations
52+
# ref: https://artifacthub.io/docs/topics/annotations/helm/
53+
annonations:
54+
# Once released, remove existing content and write anew
55+
# changelog before bumping version and tag. This will be
56+
# used for the chart's page at Artifact Hub.
57+
artifacthub.io/changes: |
58+
- kind: added
59+
description: Update docs, especially the Chart README
60+
- kind: added
61+
description: Add .github/FUNDING.yml for the Sponsor button
62+
- kind: changed
63+
description: Update .env.example file for Docker-based and Docker Compose instances
64+
- kind: added
65+
description: Add Artifact Hub annonations for the web UI
66+
67+
artifacthub.io/images: |
68+
# Update image names to point into your own images instead for image security scanning.
69+
- name: Canonical GHCR image
70+
image: ghcr.io/code-server-boilerplates/starter-pack
71+
- name: Canonical Red Hat Quay Container Registry image
72+
image: quay.io/code-server-boilerplates/starter-pack
73+
74+
# For the email address, make sure you use the same email
75+
# on your artifacthub.io account.
76+
artifacthub.io/maintainers: |
77+
- name: Andrei Jiroh Halili
78+
79+
80+
# Must match the LICENSE file at root directory of the repi.
81+
artifacthub.io/license: MIT
82+
83+
artifacthub.io/links: |
84+
- name: code-server Changelog
85+
url: https://github.com/cdr/code-server/releases
86+
- name: Chart Changelog
87+
# Update this link to use your repository's Releases page.
88+
url: https://github.com/code-server-boilerplates/starter-pack/releases
89+
- name: Ask questions on GitHub
90+
url: https://github.com/code-server-boilerplates/community/discussions

charts/starter-pack/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Andrei Jiroh, Code Server Boilerplates maintainers and its Contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

charts/starter-pack/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Helm Charts for [Example Project]
2+
3+
## Deployment
4+
5+
### Using this repo
6+
7+
To install the chart, you need to clone the repo first locally, and you need [Helm](https://helm.sh/) installed (with your credientials file ready).
8+
9+
1. After cloning the repo and `cd` into it, edit the `charts/values.yaml` file.
10+
11+
```sh
12+
$EDITOR charts/values.yaml
13+
```
14+
15+
2. Deploy and hit the road!
16+
17+
```sh
18+
helm upgrade --install charts -f values.yaml
19+
```
20+
21+
3. Wait for the successful deploy notes to show in your terminal and follow instructions.
22+
23+
### Using our Helm Charts repo
24+
25+
It gone moved to [this page](https://github.com/code-server-boilerplates/starter-pack/blob/main/docs/deployment-guides/kubernetes.md). If you attempting to use this in Okteto Cloud, please [see this documentation](https://github.com/code-server-boilerplates/starter-pack/blob/main/docs/deployment-guides/kubernetes.md).
26+
27+
## Configuration and flags
28+
29+
See [the official Helm Chart's README](https://github.com/cdr/code-server/tree/main/ci/helm-chart#configuration) for details.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# https://github.com/cdr/cdrs-starter-pack/tree/main/ci/helm-chart#extra-containers
2+
extraInitContainers: |
3+
- name: customization
4+
image: {{ .Values.image.repository }}:{{ .Values.image.tag }}
5+
imagePullPolicy: IfNotPresent
6+
env:
7+
- name: SERVICE_URL
8+
value: https://open-vsx.org/vscode/gallery
9+
- name: ITEM_URL
10+
value: https://open-vsx.org/vscode/item
11+
command:
12+
- sh
13+
- -c
14+
- |
15+
cdrs-starter-pack --install-extension ms-python.python
16+
cdrs-starter-pack --install-extension golang.Go
17+
volumeMounts:
18+
- name: data
19+
mountPath: /home/coder
Lines changed: 181 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,181 @@
1+
# Default values for cdrs-starter-pack.
2+
# This is a YAML-formatted file.
3+
# Declare variables to be passed into your templates.
4+
5+
replicaCount: 1
6+
7+
# While the maintainers of this template has made this template for you
8+
# you should make your own based on this example file to customize for
9+
# your own needs.
10+
11+
image:
12+
# We'll use our Red Hat Quay Container Registry image for this one
13+
repository: quay.io/code-server-boilerplates/starter-pack
14+
tag: 'cdr-latest.debian-10'
15+
pullPolicy: Always
16+
17+
imagePullSecrets: []
18+
nameOverride: ""
19+
fullnameOverride: ""
20+
hostnameOverride: "code-server"
21+
22+
serviceAccount:
23+
# Specifies whether a service account should be created
24+
create: true
25+
# Annotations to add to the service account
26+
annotations: {}
27+
# The name of the service account to use.
28+
# If not set and create is true, a name is generated using the fullname template
29+
name: ""
30+
31+
podAnnotations: {}
32+
33+
podSecurityContext: {}
34+
# fsGroup: 2000
35+
36+
## Pod Security Context
37+
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
38+
securityContext:
39+
capabilities:
40+
add:
41+
# If you use Ngnix inside your code-server pod,
42+
# let's allow to bind service to the network.
43+
- NET_BIND_SERVICE
44+
# We may also need to ping your website right?
45+
- NET_RAW
46+
# What about sudo and chown (or even fixuid)?
47+
- CHOWN
48+
- SETGID
49+
- SETUID
50+
drop:
51+
- ALL
52+
# readOnlyRootFilesystem: true
53+
# runAsNonRoot: true
54+
runAsUser: 1000
55+
fsGroup: 1000
56+
57+
service:
58+
type: ClusterIP
59+
port: 8080
60+
61+
ingress:
62+
# If you prefer to manually port-forward the SSH way, disable Ingress.
63+
enabled: true
64+
annotations:
65+
# For users outside of Okteto Cloud, uncomment these
66+
# lines to use Nginx as reverse-proxy and probably use
67+
# Let's Encrypt for certificates.
68+
#kubernetes.io/ingress.class: nginx
69+
#kubernetes.io/tls-acme: true
70+
71+
# Configuration for Okteto Cloud
72+
# Comment them out if you're not on Okteto Cloud
73+
dev.okteto.com/generate-host: true
74+
# If password is unset, make sure to enable Private Endpoints
75+
# by setting this into "private"
76+
dev.okteto.com/auto-ingress: true
77+
78+
ports:
79+
- port: 8080
80+
protocol: TCP
81+
targetPort: http
82+
83+
# Optional additional arguments
84+
extraArgs:
85+
- --allow-http
86+
# Only uncomment this if you use Okteto Cloud's Private Endpoints
87+
#- --no-auth
88+
89+
# Optional additional environment variables
90+
extraVars: {}
91+
# Spoiler: We don't know if it will be sent to Microsoft servers or to
92+
# Coder's telemetry servers, so we'll left the decision to you.
93+
#- name: DISABLE_TELEMETRY
94+
# value: true
95+
96+
## Init containers parameters:
97+
## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup
98+
volumePermissions:
99+
enabled: true
100+
securityContext:
101+
runAsUser: 0
102+
103+
## Resources management
104+
resources:
105+
# Please edit these files as needed
106+
limits:
107+
cpu: 1
108+
memory: 1200Mi
109+
requests:
110+
cpu: 1
111+
memory: 1Gi
112+
113+
nodeSelector: {}
114+
115+
tolerations: []
116+
117+
affinity: {}
118+
119+
## Persist data to a persistent volume
120+
persistence:
121+
enabled: true
122+
## cdrs-starter-pack data Persistent Volume Storage Class
123+
## If defined, storageClassName: <storageClass>
124+
## If set to "-", storageClassName: "", which disables dynamic provisioning
125+
## If undefined (the default) or set to null, no storageClassName spec is
126+
## set, choosing the default provisioner. (gp2 on AWS, standard on
127+
## GKE, AWS & OpenStack)
128+
##
129+
# storageClass: "-"
130+
accessMode: ReadWriteOnce
131+
# Since Okteto Cloud's free tier is up to 5 GB for storage
132+
# you may need to upgrade if needed.
133+
size: 2Gi
134+
annotations: {}
135+
# existingClaim: ""
136+
# hostPath: /data
137+
138+
139+
## Enable an Specify container in extraContainers.
140+
## This is meant to allow adding cdrs-starter-pack dependencies, like docker-dind.
141+
## ONLY UNCOMMENT IF YOUR KUBERNETETS CLUSTER PROVIDER ALLOWS
142+
## PRIVILEGED CONTAINERS, OTHERWISE HOST IT ON YOUR OWN ON-PERM
143+
## CLUSTERS
144+
#extraContainers: |
145+
# - name: docker-dind
146+
# image: docker:20.10-dind
147+
# imagePullPolicy: IfNotPresent
148+
# resources:
149+
# requests:
150+
# cpu: 512m
151+
# memory: 1Gi
152+
# securityContext:
153+
# privileged: false
154+
# procMount: Default
155+
# env:
156+
# - name: DOCKER_TLS_CERTDIR
157+
# value: ""
158+
# - name: DOCKER_DRIVER
159+
# value: "overlay2"
160+
161+
## Additional cdrs-starter-pack secret mounts
162+
extraSecretMounts: []
163+
# - name: secret-files
164+
# mountPath: /etc/secrets
165+
# secretName: cdrs-starter-pack-secret-files
166+
# readOnly: true
167+
168+
## Additional cdrs-starter-pack volume mounts
169+
extraVolumeMounts: []
170+
# - name: extra-volume
171+
# mountPath: /mnt/volume
172+
# readOnly: true
173+
# existingClaim: volume-claim
174+
# hostPath: ""
175+
176+
extraConfigmapMounts: []
177+
# - name: certs-configmap
178+
# mountPath: /etc/cdrs-starter-pack/ssl/
179+
# subPath: certificates.crt # (optional)
180+
# configMap: certs-configmap
181+
# readOnly: true

0 commit comments

Comments
 (0)