docs: replace hardcoded namespace with <your-namespace> placeholder
Users choose their own namespace for Headlamp. Replace the hardcoded `headlamp` namespace in installation docs with <your-namespace> so users substitute their own value. Refs: PRI-435 Co-authored-by: Chris Farhood <chris@farhood.org> Co-authored-by: Paperclip <noreply@paperclip.ing>
This commit was merged in pull request #78.
This commit is contained in:
committed by
GitHub
parent
84c947ed69
commit
cc9b0c4042
@@ -121,7 +121,7 @@ For Headlamp running in Kubernetes:
|
|||||||
kubectl create configmap headlamp-sealed-secrets-plugin \
|
kubectl create configmap headlamp-sealed-secrets-plugin \
|
||||||
--from-file=main.js=dist/main.js \
|
--from-file=main.js=dist/main.js \
|
||||||
--from-file=package.json=package.json \
|
--from-file=package.json=package.json \
|
||||||
-n headlamp
|
-n <your-namespace>
|
||||||
```
|
```
|
||||||
|
|
||||||
2. **Update Headlamp deployment**:
|
2. **Update Headlamp deployment**:
|
||||||
@@ -130,7 +130,7 @@ For Headlamp running in Kubernetes:
|
|||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: headlamp
|
name: headlamp
|
||||||
namespace: headlamp
|
namespace: <your-namespace>
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
spec:
|
spec:
|
||||||
@@ -149,7 +149,7 @@ For Headlamp running in Kubernetes:
|
|||||||
3. **Apply and restart**:
|
3. **Apply and restart**:
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f headlamp-deployment.yaml
|
kubectl apply -f headlamp-deployment.yaml
|
||||||
kubectl rollout restart deployment/headlamp -n headlamp
|
kubectl rollout restart deployment/headlamp -n <your-namespace>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Verification
|
## Verification
|
||||||
|
|||||||
Reference in New Issue
Block a user