-
Notifications
You must be signed in to change notification settings - Fork 7
[sourcemation/coder] Release 0.1.0/2.22.0 #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jmmaro
wants to merge
12
commits into
SourceMation:main
Choose a base branch
from
jmmaro:feature/coder-1.0.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
44de935
chore: add coder-1.0.0
jmmaro 79aab90
chore: add coder to repo
jmmaro 5a50d45
chore: use cloudnative-pg
jmmaro 228fcdc
docs: update README
jmmaro 0dcb195
chore: update coder in repo
jmmaro a54d9e0
fix: change chart version & description
jmmaro d44ed66
fix: change category
jmmaro 37cf73b
feat: update coder to 2.22.0
jmmaro 78f76a6
docs: standarize
jmmaro 6c739cf
feat: update dependency
jmmaro 9486c0f
fix: fix metric & update values file
jmmaro b8703a8
fix: update repo structure
jmmaro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,23 @@ | ||
| # Patterns to ignore when building packages. | ||
| # This supports shell glob matching, relative path matching, and | ||
| # negation (prefixed with !). Only one pattern per line. | ||
| .DS_Store | ||
| # Common VCS dirs | ||
| .git/ | ||
| .gitignore | ||
| .bzr/ | ||
| .bzrignore | ||
| .hg/ | ||
| .hgignore | ||
| .svn/ | ||
| # Common backup files | ||
| *.swp | ||
| *.bak | ||
| *.tmp | ||
| *.orig | ||
| *~ | ||
| # Various IDEs | ||
| .project | ||
| .idea/ | ||
| *.tmproj | ||
| .vscode/ |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,9 @@ | ||
| dependencies: | ||
| - name: common | ||
| repository: https://charts.sourcemation.com/ | ||
| version: 0.1.1 | ||
| - name: coder | ||
| repository: https://helm.coder.com/v2 | ||
| version: 2.22.0 | ||
| digest: sha256:de0ce08063107ee3bbe97789f7543bf5381d447113bfd3be1f4cb6a063ef20eb | ||
| generated: "2025-05-23T15:23:07.299417938+02:00" |
This file contains hidden or 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,33 @@ | ||
| annotations: | ||
| catalog.cattle.io/display-name: Coder (1/1) - App | ||
| catalog.cattle.io/os: linux | ||
| catalog.cattle.io/permits-os: linux | ||
| # catalog.cattle.io/kube-version: '>=1.26.0-0 < 1.31.0-0' | ||
| # catalog.cattle.io/rancher-version: '>= 2.8.0-0 < 2.10.0-0' | ||
| catalog.cattle.io/release-name: coder | ||
| apiVersion: v2 | ||
| appVersion: 2.22.0 | ||
| dependencies: | ||
| - name: common | ||
| repository: https://charts.sourcemation.com/ | ||
| version: 0.1.x | ||
| - condition: global.coderApp.enabled | ||
| name: coder | ||
| repository: https://helm.coder.com/v2 | ||
| version: 2.22.0 | ||
| description: Self-serve portal for remote development in Kubernetes. Install many times on kubernetes. Development. | ||
| home: https://linuxpolska.com | ||
| icon: https://linuxpolska.com/logo/LinuxPolska-icon.png | ||
| keywords: | ||
| - coder | ||
| - development | ||
| - terraform | ||
| #kubeVersion: '>=1.26.0-0 <1.31.0-0' | ||
| maintainers: | ||
| - email: [email protected] | ||
| name: jmmaro | ||
| name: coder | ||
| sources: | ||
| - https://github.com/SourceMation/charts.git | ||
| type: application | ||
| version: 0.1.0 |
This file contains hidden or 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,46 @@ | ||
| ## For developers | ||
|
|
||
| ## Installing from repo | ||
|
|
||
| ```bash | ||
| export RELEASE_NAME=coder | ||
| export CHART_NAME=coder | ||
| export RELEASE_NAMESPACE=coder-namespace | ||
| export CHART_URL=coder.apps.example.com | ||
| export CERT_ISSUER_NAME=default-selfsigned-ca | ||
| export CERT_ISSUER_KIND=ClusterIssuer | ||
| export CERT_SECRET_NAME=coder-tls-cert | ||
|
|
||
| git clone [email protected]:SourceMation/charts.git | ||
| cd charts/charts/${CHART_NAME} | ||
|
|
||
|
|
||
| cat <<EOF> /tmp/values.yaml | ||
| coder: | ||
| coder: | ||
| ingress: | ||
| host: "${CHART_URL}" | ||
| tls: | ||
| issuerName: "${CERT_ISSUER_NAME}" | ||
| issuerKind: "${CERT_ISSUER_KIND}" | ||
| secretName: "${CERT_SECRET_NAME}" | ||
| EOF | ||
|
|
||
|
|
||
| helm -n ${RELEASE_NAMESPACE} upgrade --install --create-namespace \ | ||
| -f /tmp/values.yaml | ||
| ${RELEASE_NAME} . \ | ||
| ``` | ||
|
|
||
| # Cleaning | ||
|
|
||
| ```bash | ||
| helm -n ${RELEASE_NAMESPACE} uninstall ${RELEASE_NAME} | ||
| kubectl -n ${RELEASE_NAMESPACE} delete cert ${CERT_SECRET_NAME} | ||
| ``` | ||
|
|
||
| # Testing | ||
|
|
||
| ```bash | ||
| kubectl -n ${RELEASE_NAMESPACE} get po,svc,sts,secret,cm,pvc,ingress,cert | ||
| ``` |
This file contains hidden or 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,95 @@ | ||
| ## General | ||
|
|
||
| ### Are you looking for more information? | ||
|
|
||
| 1. Based on: https://github.com/coder/coder.git | ||
| 2. Documentation: https://coder.com/docs | ||
| 3. Chart Source: https://github.com/SourceMation/charts.git | ||
|
|
||
|
|
||
| ## Before Installation | ||
|
|
||
| * The installation of cert-manager is required according to the instructions provided in the README file of the latest version: https://github.com/SourceMation/charts/tree/main/charts/cert-manager | ||
|
|
||
| * The installation of cloudnative-pg operator is required according to the instructions provided in the README file of the latest version: https://github.com/SourceMation/charts/tree/main/charts/cnpg-operator | ||
|
|
||
| * An ingress controller must be installed within the cluster. | ||
|
|
||
| ## After Installation | ||
|
|
||
| > **Note:** | ||
| > no action required | ||
|
|
||
| ## Before Upgrade | ||
|
|
||
| > **Note:** | ||
| > no action required | ||
|
|
||
| ## After Upgrade | ||
|
|
||
| > **Note:** | ||
| > no action required | ||
|
|
||
| ## Tips and Tricks | ||
|
|
||
| > **Note:** | ||
| > no tips and tricks | ||
|
|
||
| ## Known Issues | ||
|
|
||
| > **Note:** | ||
| > Notify us: https://github.com/SourceMation/charts/issues | ||
|
|
||
| ## CLI installation | ||
|
|
||
| ### Preparation | ||
|
|
||
| ```bash | ||
| export RELEASE_NAME=coder | ||
| export CHART_NAME=coder | ||
| export CHART_VERSION=0.1.0 | ||
| export RELEASE_NAMESPACE=coder-namespace | ||
| export CHART_URL=coder.apps.example.com | ||
| export CERT_ISSUER_NAME=default-selfsigned-ca | ||
| export CERT_ISSUER_KIND=ClusterIssuer | ||
| export CERT_SECRET_NAME=coder-tls-cert | ||
|
|
||
|
|
||
| cat <<EOF> /tmp/values.yaml | ||
| coder: | ||
| coder: | ||
| ingress: | ||
| host: "${CHART_URL}" | ||
| tls: | ||
| issuerName: "${CERT_ISSUER_NAME}" | ||
| issuerKind: "${CERT_ISSUER_KIND}" | ||
| secretName: "${CERT_SECRET_NAME}" | ||
| EOF | ||
| ``` | ||
|
|
||
| ```bash | ||
| kubectl create ns ${RELEASE_NAMESPACE} | ||
| kubectl config set-context --current --namespace ${RELEASE_NAMESPACE} | ||
| ``` | ||
|
|
||
| ### Go go helm | ||
|
|
||
| ``` bash | ||
| helm -n ${RELEASE_NAMESPACE} upgrade --install ${RELEASE_NAME} \ | ||
| -f /tmp/values.yaml \ | ||
| ${CHART_NAME} --repo https://sourcemation.github.io/charts/ \ | ||
| --version ${CHART_VERSION} | ||
| ``` | ||
|
|
||
| ### Validation and Testing | ||
|
|
||
| ```bash | ||
| kubectl -n ${RELEASE_NAMESPACE} get po | ||
| ``` | ||
|
|
||
| ## CLI removing | ||
|
|
||
| ```bash | ||
| helm -n ${RELEASE_NAMESPACE} uninstall ${RELEASE_NAME} | ||
| kubectl -n ${RELEASE_NAMESPACE} delete cert ${CERT_SECRET_NAME} | ||
| ``` | ||
This file contains hidden or 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,12 @@ | ||
| ## Overview | ||
|
|
||
| Coder simplifies the setup of development environments by setting them up in the Kubernetes infrastructure. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| - Kubernetes 1.26+ | ||
| - Helm 3.2.0+ | ||
| - PV provisioner support in the underlying infrastructure | ||
| - An ingress controller installed within the cluster | ||
|
|
||
| For more information on how to configure the Helm chart, refer to the Helm Chart README. |
Binary file not shown.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.