File tree 1 file changed +39
-0
lines changed 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,45 @@ supportLinks:
67
67
68
68
The link icons are optional, and limited to: ` bug`, `chat`, and `docs`.
69
69
70
+ # ## Kubernetes configuration
71
+
72
+ To pass in the `supportLinks` YAML file above into your Coder Kubernetes deployment,
73
+ follow the steps below.
74
+
75
+ # ### 1. Create Kubernetes Secret From File
76
+
77
+ Run the below commmand to create the YAML file as a Kubernetes secret in your cluster :
78
+
79
+ ` ` ` console
80
+ kubectl create secret generic coder-support-links -n <coder-namespace> --from-file=config.yaml
81
+ ` ` `
82
+
83
+ # ### 2. Mount Secret as Volume in Helm Chart
84
+
85
+ Next, update your Helm chart values as follows :
86
+
87
+ ` ` ` yaml
88
+ coder:
89
+ env:
90
+ - name: CODER_CONFIG_PATH
91
+ value: /etc/coder/config.yaml
92
+ volumes:
93
+ - name: coder-config
94
+ secret:
95
+ secretName: coder-support-links
96
+ volumeMounts:
97
+ - name: coder-config
98
+ mountPath: /etc/coder/
99
+ ` ` `
100
+
101
+ # ### 3. Upgrade Coder
102
+
103
+ Lastly, upgrade Coder using the following command :
104
+
105
+ ` ` ` console
106
+ helm upgrade coder coder-v2/coder -n <coder-namespace> -f <values-file.yaml>
107
+ ` ` `
108
+
70
109
# # Up next
71
110
72
111
- [Enterprise](../enterprise.md)
You can’t perform that action at this time.
0 commit comments