Skip to content

docs: add coder-logstream-kube docs and update k8s example template #8675

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

Merged
merged 26 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
suggestions
  • Loading branch information
matifali committed Jul 24, 2023
commit ffae21c12612c49c320e3dac5bb6de38bb3bc719
2 changes: 2 additions & 0 deletions docs/platforms/kubernetes/deployment-logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ serviceAccount:
name: coder
```

> Note: This is only required for Coder versions < 0.28.0, as this will be the default value for Coder versions >= 0.28.0

## Installation

Install the `coder-kubestream-logs` helm chart on the cluster where the deployment is running.
Expand Down
13 changes: 2 additions & 11 deletions examples/templates/kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,15 @@ This template uses [`kubernetes_deployment`](https://registry.terraform.io/provi
```diff
coder:
serviceAccount:
# coder.serviceAccount.workspacePerms -- Whether or not to grant the coder
# service account permissions to manage workspaces. This includes
# permission to manage pods and persistent volume claims in the deployment
# namespace.
#
# It is recommended to keep this on if you are using Kubernetes templates
# within Coder.
workspacePerms: true
# coder.serviceAccount.enableDeployments -- Provides the service account permission
# to manage Kubernetes deployments.
- enableDeployments: false
+ enableDeployments: true
# coder.serviceAccount.annotations -- The Coder service account annotations.
annotations: {}
# coder.serviceAccount.name -- The service account name
name: coder
```

> Note: This is only required for Coder versions < 0.28.0, as this will be the default value for Coder versions >= 0.28.0

## Authentication

This template can authenticate using in-cluster authentication, or using a kubeconfig local to the
Expand Down