Skip to content

[GitHub Request] opensearch-k8s-operator: create tag v3.0.0-beta and let workflows create chart release tags #657

Closed

Description

@synhershko

What is the type of request?

Settings Update

Details of the request

Repository: https://github.com/opensearch-project/opensearch-k8s-operator

Two related items, both caused by the organization tag ruleset (global_block_tags_creation_update_deletion_forcepush_minusTagCreationRepo, id 16267785) that blocks tag creation on this repository:

  1. Create the release tag v3.0.0-beta for the operator's 3.0.0 beta. The tag must point at the merge commit of the version-bump PR release: bump versions for 3.0.0-beta opensearch-k8s-operator#1594 (based on main at 1bd5b8a). I will post the exact SHA in a comment here as soon as that PR is merged, so please hold the tag until then. Tag format v<semver> matches the existing v3.0.0-alpha and v2.8.0 tags and the release.yaml trigger (push: tags: ['v*']).

  2. Let the repository's GitHub Actions workflows create chart release tags again, either by exempting opensearch-k8s-operator from ruleset 16267785 or by adding the GitHub Actions app as a bypass actor for it. Two workflows use helm/chart-releaser-action with the default GITHUB_TOKEN to create opensearch-operator-<ver> / opensearch-cluster-<ver> releases and tags:

Additional information to support your request

Error text from the latest main run (identical on every run since June):

Error: error creating GitHub release opensearch-cluster-3.3.4: POST https://api.github.com/repos/opensearch-project/opensearch-k8s-operator/releases: 422 Validation Failed [{Resource:Release Field:pre_receive Code:custom Message:pre_receive Repository rule violations found
Cannot create ref due to creations being restricted.
} {Resource:Release Field: Code:custom Message:Published releases must have a valid tag}]

This is the same situation as #531 (opensearch-java and others) and as opensearch-project/helm-charts, whose chart-releaser workflow hits the same 422 and whose releases have been created by hand by an admin since. I am a maintainer of opensearch-k8s-operator (maintain role), so I cannot push the tag myself either.

If the ruleset cannot be relaxed for this repository, the fallback for the beta is: create the tag as requested in (1), then, once the tag-triggered workflow fails at chart-releaser, create the opensearch-operator-3.0.0-beta release with the packaged chart and update the gh-pages index.yaml by hand (the gh-pages push is also subject to the org branch ruleset). Item (2) avoids repeating that for every release.

When does this request need to be completed?

This week if possible: the 3.0.0 beta is planned now and the 3.0.0 GA shortly after (opensearch-project/opensearch-k8s-operator#1477). Item (1) is needed for the beta; item (2) unblocks chart publishing that has been broken since June.

Notes

Track the progress of your request here: Engineering Effectiveness Board (view).
Member of @opensearch-project/admin will take a look at the request soon.
Thanks!

Activity

  1. synhershko commented on Sep 19, 2026

    @synhershko
    Author
  2. peterzhuamazon commented on Sep 21, 2026

    @peterzhuamazon
    Member

    Hi @synhershko

    1. The PR needs to be merged before we can help create a tag.
    2. We will not allow github actions to create any release, even for helm-charts repo for bundle release, we are doing manual release and will update it later to be similar to opensearch-api-specification repo to pages.

    The above two restrictions are all related to the post measures to prevent issues such like GHSA-27f5-xjrr-q9ff.

    Let me know if you have questions.

    Thanks.

  3. moved this from 🆕 New to ⌛ On Hold in Engineering Effectiveness Boardon Sep 21, 2026
  4. josedev-union commented on Sep 22, 2026

    @josedev-union

    @peterzhuamazon the PR for beta release approved and merged already.
    plz create following tags with this commit opensearch-project/opensearch-k8s-operator@2fd1cad

    • v3.0.0-beta
    • opensearch-operator-3.0.12
    • opensearch-cluster-3.3.5
  5. synhershko commented on Sep 22, 2026

    @synhershko
    Author

    @josedev-union let's gear up for GA release already as we want it to be shortly after the beta release

  6. peterzhuamazon commented on Sep 22, 2026

    @peterzhuamazon
    Member

    Will be based on this commit from main: opensearch-project/opensearch-k8s-operator@2fd1cad

    Note: we will first update this manually, then prepare a new PR for lessons we learned from handle opensearch-api-specifications, then on next release we can verify if automated steps are correct.

    Thanks for understanding the inconvenience but is for the safety of the github repos.

  7. moved this from ⌛ On Hold to 🏗 In progress in Engineering Effectiveness Boardon Sep 22, 2026
  8. 14 remaining items

  9. synhershko commented on Sep 22, 2026

    @synhershko
    Author

    sorry @peterzhuamazon I don't follow :)

  10. peterzhuamazon commented on Sep 22, 2026

    @peterzhuamazon
    Member
    Image

    Need to update these to latest by maintainers then we good.

  11. peterzhuamazon commented on Sep 22, 2026

    @peterzhuamazon
    Member
    opensearch-operator	3.0.12       	3.0.0-beta 	The OpenSearch Operator Helm chart for Kubernetes
    
    ------
    
    opensearch-cluster	3.3.5        	3.4.0      	A Helm chart for OpenSearch Cluster
    
  12. moved this from 🏗 In progress to 👀 In Review in Engineering Effectiveness Boardon Sep 22, 2026
  13. peterzhuamazon commented on Sep 23, 2026

    @peterzhuamazon
    Member

    Closing as 3.0.0-beta is out now.

  14. added a commit that references this issue on Sep 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions