mirror of
https://github.com/rancher/types.git
synced 2025-09-03 06:04:24 +00:00
Revert "Merge pull request #1190 from PennyScissors/relv24-fix-var-interpolation"
This reverts commit0d90dc3a07
, reversing changes made to98055cdcb6
.
This commit is contained in:
@@ -582,7 +582,7 @@ func podTypes(schemas *types.Schemas) *types.Schemas {
|
||||
MustImport(&Version, v1.Handler{}, handlerOverride{}).
|
||||
MustImport(&Version, v1.Probe{}, handlerOverride{}).
|
||||
MustImport(&Version, v1.Container{}, struct {
|
||||
Environment []EnvironmentVar
|
||||
Environment map[string]string
|
||||
EnvironmentFrom []EnvironmentFrom
|
||||
InitContainer bool
|
||||
State string
|
||||
|
@@ -37,12 +37,6 @@ type handlerOverride struct {
|
||||
TCP bool
|
||||
}
|
||||
|
||||
type EnvironmentVar struct {
|
||||
Name string
|
||||
Value string
|
||||
ValueFrom *EnvironmentFrom
|
||||
}
|
||||
|
||||
type EnvironmentFrom struct {
|
||||
Source string `norman:"type=enum,options=field|resource|configMap|secret"`
|
||||
SourceName string
|
||||
|
Reference in New Issue
Block a user