mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user