Skip to content

Commit 399d213

Browse files
committed
ci: fix lint, add mascot image and GHCR badge
- replace golangci-lint-action with make lint — action uses standard binary which lacks the logcheck plugin built by .custom-gcl.yml - add pivot mascot to .github/assets/ and README (IMP style) - add GHCR image badge linking to package page
1 parent ce2996b commit 399d213

3 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/assets/pivot.png

1.6 MB
Loading

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ jobs:
3838
git diff --exit-code || (echo "Run 'make manifests' and commit the result" && exit 1)
3939
4040
- name: golangci-lint
41-
uses: golangci/golangci-lint-action@v7
42-
with:
43-
version: v2.8.0
41+
run: make lint
4442

4543
- name: Install gitleaks
4644
run: |

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,21 @@
33
[![CI](https://github.com/syscode-labs/oci-pivot-controller/actions/workflows/ci.yml/badge.svg)](https://github.com/syscode-labs/oci-pivot-controller/actions/workflows/ci.yml)
44
[![CodeQL](https://github.com/syscode-labs/oci-pivot-controller/actions/workflows/codeql.yml/badge.svg)](https://github.com/syscode-labs/oci-pivot-controller/actions/workflows/codeql.yml)
55
[![Go Version](https://img.shields.io/badge/go-1.25-00ADD8?logo=go)](https://go.dev/doc/devel/release)
6+
[![Image](https://img.shields.io/github/v/release/syscode-labs/oci-pivot-controller?label=ghcr.io&logo=docker&color=blue)](https://github.com/syscode-labs/oci-pivot-controller/pkgs/container/oci-pivot-controller)
67
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
78

9+
<p>
10+
<img align="left" src=".github/assets/pivot.png" alt="oci-pivot-controller mascot" width="288" />
11+
</p>
12+
813
**oci-pivot-controller is a Kubernetes controller that gives your cluster a stable floating public IP on OCI — and automatically moves it to a healthy node if the current one goes down.**
914

1015
In plain terms: you create a `PivotIP` resource pointing at a Service, and the controller reserves a real OCI public IP address and wires it up so traffic reaches your app. If the node holding that IP becomes unhealthy, the controller detects it, picks a better node, and re-routes traffic — without you doing anything. The IP address never changes.
1116

1217
It works entirely through OCI's native networking (secondary private IPs + reserved public IPs). No load balancer, no cloud provider integration, no CNI changes required.
1318

19+
<br clear="left" />
20+
1421
## What It Manages
1522

1623
- `PivotIP`: assigns and maintains a floating OCI reserved public IP for a Kubernetes Service

0 commit comments

Comments
 (0)