Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs: explain Template inheritance with Terraform modules #8328

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 2 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
make fmt & title renaming
  • Loading branch information
ericpaulsen committed Jul 5, 2023
commit 5e771700ecc84f76bdec81e6781d1652930b52f3
4 changes: 2 additions & 2 deletions docs/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,9 @@
"icon_path": "./images/icons/docker.svg"
},
{
"title": "Inheritance",
"title": "Terraform Modules",
"description": "Reuse code across Coder templates",
"path": "./templates/inheritance.md"
"path": "./templates/modules.md"
}
]
},
Expand Down
22 changes: 11 additions & 11 deletions docs/templates/inheritance.md → docs/templates/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,16 @@ Then, modify Coder's Helm values to mount the secret.
```yaml
coder:
volumes:
- name: git-secrets
secret:
secretName: git-secrets
- name: git-secrets
secret:
secretName: git-secrets
volumeMounts:
- name: git-secrets
mountPath: "/home/coder/.gitconfig"
subPath: .gitconfig
readOnly: true
- name: git-secrets
mountPath: "/home/coder/.git-credentials"
subPath: .git-credentials
readOnly: true
- name: git-secrets
mountPath: "/home/coder/.gitconfig"
subPath: .gitconfig
readOnly: true
- name: git-secrets
mountPath: "/home/coder/.git-credentials"
subPath: .git-credentials
readOnly: true
```