mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
fix example usage of passing environment variables
The syntax is not envVar, that is the name of the internal struct. The list is just "env"
This commit is contained in:
parent
3002e78dd5
commit
591adec13c
@ -103,7 +103,7 @@ desiredState:
|
||||
containers:
|
||||
- name: git-monitor
|
||||
image: kubernetes/git-monitor
|
||||
envVar:
|
||||
env:
|
||||
- name: GIT_REPO
|
||||
value: http://github.com/some/repo.git
|
||||
volumeMounts:
|
||||
|
Loading…
Reference in New Issue
Block a user