Skip to content

Commit b7e96d9

Browse files
geoberlekatherinelc321
authored andcommitted
fix dns zone delegation templatize step marshallling (Azure#1058)
follows up on Azure#1040 Signed-off-by: Gerd Oberlechner <[email protected]>
1 parent fae51d4 commit b7e96d9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

tooling/templatize/pkg/pipeline/types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ func (s *ARMStep) Description() string {
203203

204204
type DelegateChildZoneStep struct {
205205
StepMeta `yaml:",inline"`
206-
ParentZoneName VariableRef `yaml:"parentZoneName"`
207-
ChildZoneName VariableRef `yaml:"childZoneName"`
206+
ParentZoneName VariableRef `yaml:"parentZone"`
207+
ChildZoneName VariableRef `yaml:"childZone"`
208208
}
209209

210210
func (s *DelegateChildZoneStep) Description() string {

tooling/templatize/testdata/zz_fixture_TestProcessPipelineForEV2pipeline.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ resourceGroups:
2727
action: DelegateChildZone
2828
dependsOn:
2929
- deploy
30-
parentZoneName: {}
31-
childZoneName: {}
30+
parentZone:
31+
configRef: parentZone
32+
childZone:
33+
configRef: childZone
3234
- name: issuerTest
3335
action: SetCertificateIssuer
3436
dependsOn:

0 commit comments

Comments
 (0)