Experimental extraction/refactoring of the Operator SDK's ansible operator plugin
  • Go 96.3%
  • Makefile 1.6%
  • Shell 1%
  • Dockerfile 0.8%
  • Python 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dependabot[bot] 6a8af31c30
Bump pyasn1 from 0.6.3 to 0.6.4 in /images/ansible-operator (#235)
Bumps [pyasn1](https://github.com/pyasn1/pyasn1) from 0.6.3 to 0.6.4.
- [Release notes](https://github.com/pyasn1/pyasn1/releases)
- [Changelog](https://github.com/pyasn1/pyasn1/blob/main/CHANGES.rst)
- [Commits](https://github.com/pyasn1/pyasn1/compare/v0.6.3...v0.6.4)

---
updated-dependencies:
- dependency-name: pyasn1
  dependency-version: 0.6.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-24 07:10:27 -07:00
.bingo updating to go 1.23 and UBI 9.5 (#122) 2024-12-12 07:48:41 -07:00
.github Bump actions/setup-go from 6 to 7 (#233) 2026-07-20 06:51:29 -07:00
cmd/ansible-operator (repo): transplant ansible related logic from operator sdk (#2) 2023-07-25 16:44:44 -04:00
hack updating asserts/conditionals to evaluate to booleans (#158) 2025-09-04 10:03:22 -07:00
images/ansible-operator Bump pyasn1 from 0.6.3 to 0.6.4 in /images/ansible-operator (#235) 2026-07-24 07:10:27 -07:00
internal (fix): skip special word handling when word is all uppercase (#193) 2026-07-07 10:54:38 -04:00
pkg fixing scafolding after kubebuilder update (#146) 2025-05-29 07:47:00 -07:00
test adding metrics-require-rbac flag, metrics-secure validation logic and corresponding scaffolding logic (#116) 2024-11-12 14:44:11 -07:00
testdata/memcached-molecule-operator prepping for v1.42.3 release (#229) 2026-06-25 15:02:36 -07:00
tools updating dependencies to support k8s 1.32 (#142) 2025-05-20 08:50:02 -07:00
.gitignore (ci): automated releasing with goreleaser (#5) 2023-08-24 14:47:00 -04:00
.goreleaser.yml Install ansible-runner-http as local python package (#172) 2025-09-26 11:49:23 -07:00
code-of-conduct.md add initial files 2023-07-24 16:40:07 -04:00
go.mod Bump golang.org/x/net from 0.54.0 to 0.55.0 (#230) 2026-07-06 11:12:42 -07:00
go.sum Bump golang.org/x/net from 0.54.0 to 0.55.0 (#230) 2026-07-06 11:12:42 -07:00
LICENSE Initial commit 2023-07-24 16:28:19 -04:00
Makefile prepping for v1.42.3 release (#229) 2026-06-25 15:02:36 -07:00
OWNERS add initial files 2023-07-24 16:40:07 -04:00
OWNERS_ALIASES add initial files 2023-07-24 16:40:07 -04:00
README.md update readme with proper overview (#170) 2025-09-09 10:36:26 -07:00

Ansible Operator Plugins

A plugin that provide Ansible-based operator functionality for the Operator SDK. This project contains the core Ansible operator implementation that enables developers to build Kubernetes operators using Ansible playbooks and roles.

Overview

This project provides the Ansible plugin for Operator SDK, allowing you to:

  • Build Kubernetes operators using Ansible playbooks and roles
  • Manage custom resources with Ansible automation
  • Handle operator lifecycle events through Ansible tasks
  • Leverage the full ecosystem of Ansible modules and collections

Releasing Guide

Pre-Requisites

  • Push access to this repository
  • Forked repository and local clone of fork
  • Remote ref named upstream that points to this repository

Release Prep (Applies to all releases)

Since this project is currently consumed as a library there are some manual steps that need to take place prior to creating a release. They are as follows:

  1. Checkout the main branch:
git checkout main
  1. Ensure the main branch is up to date:
git fetch upstream && git pull upstream main
  1. Checkout a new branch for release prep work:
git checkout -b release/prep-vX.Y.Z
  1. Update the ImageVersion variable in internal/version/version.go to be the version you are prepping for release
  2. Update the line with export IMAGE_VERSION in Makefile to be the version you are prepping for release
  3. Regenerate the testdata:
make generate
  1. Commit and push your changes to your fork
  2. Create a PR against the main branch

Creating Major/Minor Releases

  1. Ensure the steps in Release Prep have been completed. Do NOT progress past this point until the release prep PR has merged.
  2. Checkout the main branch:
git checkout main
  1. Ensure your local branch is up to date:
git fetch upstream && git pull upstream main
  1. Checkout a new branch for the new release following the pattern release-vX.Y. In this example we will create a branch for a v0.2.0 release:
git checkout -b release-v0.2
  1. Push the newly created release branch:
git push -u upstream release-v0.2
  1. Create a new release tag:
git tag -a -s -m "ansible-operator-plugins release v0.2.0" v0.2.0
  1. Push the new tag:
git push upstream v0.2.0

Creating Patch Releases

  1. Ensure the steps in Release Prep have been completed. Do NOT progress past this point until the release prep PR has merged.
  2. Cherry pick the merged release prep PR to the proper major/minor branch by commenting the following on the PR:
/cherry-pick release-vX.Y

where X is the major version and Y is the minor version. An example of cherry picking for a v0.2.1 release would be:

/cherry-pick release-v0.2
  1. A bot will have created the cherry pick PR. Merge this. Do NOT progress past this point until the cherry pick PR has merged.
  2. Checkout the appropriate release branch. In this example we will be "creating" a v0.2.1 release:
git checkout release-v0.2
  1. Ensure it is up to date:
git fetch upstream && git pull upstream release-v0.2
  1. Create a new release tag:
git tag -a -s -m "ansible-operator-plugins release v0.2.1" v0.2.1
  1. Push the new tag:
git push upstream v0.2.1

Note

While the release process is automated once the tag is pushed it can occasionally timeout. If this happens, re-running the action will re-run the release process and typically succeed.