Skip to content

Commit

Permalink
Merge pull request #142 from yftacherzog/KONFLUX-5791-release-plan-la…
Browse files Browse the repository at this point in the history
…bels

chore(KONFLUX-5791): support rpa label in rp
  • Loading branch information
ifireball authored Dec 16, 2024
2 parents d7f4493 + 9470f4e commit f51e3a2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ metadata:
release.appstudio.openshift.io/author: system_serviceaccount_remote-argocd_remote-argocd
release.appstudio.openshift.io/auto-release: 'true'
release.appstudio.openshift.io/standing-attribution: 'true'
release.appstudio.openshift.io/releasePlanAdmission: cool-rpa-4-4-0
spec:
application: "cool-app-4-4-0"
releaseGracePeriodDays: 7
Expand Down
1 change: 1 addition & 0 deletions config/samples/projctl_v1beta1_pdst_w_relpln.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ spec:
release.appstudio.openshift.io/author: system_serviceaccount_remote-argocd_remote-argocd
release.appstudio.openshift.io/auto-release: 'true'
release.appstudio.openshift.io/standing-attribution: 'true'
release.appstudio.openshift.io/releasePlanAdmission: cool-rpa-{{.versionName}}
spec:
application: "cool-app-{{.versionName}}"
releaseGracePeriodDays: 7
Expand Down
1 change: 1 addition & 0 deletions internal/template/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ var supportedResourceTypes = []struct {
},
templateAbleNameFields: [][]string{
{"metadata", "name"},
{"metadata", "labels", "release.appstudio.openshift.io/releasePlanAdmission"},
{"spec", "application"},
},
ownerNameField: []string{"spec", "application"},
Expand Down

0 comments on commit f51e3a2

Please sign in to comment.