Skip to content

Commit

Permalink
address incorrect affinity spec (istio#440)
Browse files Browse the repository at this point in the history
* add ignore file

* fix for 18130

* generated file update
  • Loading branch information
linsun authored and istio-testing committed Oct 23, 2019
1 parent a6d3a87 commit 4a2e9c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ kubedns
out/
build/out/
data/charts/
#cli logs
.mesh-cli.log
cmd/mesh/,mesh-cli.log
2 changes: 1 addition & 1 deletion data/translateConfig/translateConfig-1.3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apiMapping:
outPath: "global.securityNamespace"
kubernetesMapping:
"{{.FeatureName}}.Components.{{.ComponentName}}.K8S.Affinity":
outPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.containers.[name:{{.ContainerName}}].affinity"
outPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.affinity"
"{{.FeatureName}}.Components.{{.ComponentName}}.K8S.Env":
outPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.containers.[name:{{.ContainerName}}].env"
"{{.FeatureName}}.Components.{{.ComponentName}}.K8S.HpaSpec":
Expand Down
2 changes: 1 addition & 1 deletion data/translateConfig/translateConfig-1.4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ apiMapping:
outPath: "global.securityNamespace"
kubernetesMapping:
"{{.FeatureName}}.Components.{{.ComponentName}}.K8S.Affinity":
outPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.containers.[name:{{.ContainerName}}].affinity"
outPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.affinity"
"{{.FeatureName}}.Components.{{.ComponentName}}.K8S.Env":
outPath: "[{{.ResourceType}}:{{.ResourceName}}].spec.template.spec.containers.[name:{{.ContainerName}}].env"
"{{.FeatureName}}.Components.{{.ComponentName}}.K8S.HpaSpec":
Expand Down
4 changes: 2 additions & 2 deletions pkg/vfs/assets.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4a2e9c0

Please sign in to comment.