Skip to content

Commit 0a7f6e0

Browse files
committed
try out with short name
Signed-off-by: clux <[email protected]>
1 parent e133139 commit 0a7f6e0

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: docker/metadata-action@v5
2727
id: meta
2828
with:
29-
images: ghcr.io/${{ github.repository }}
29+
images: ghcr.io/${{ github.repository_owner }}/controller
3030
tags: |
3131
type=pep440,pattern={{version}}
3232
type=raw,value=latest,enable={{is_default_branch}}
@@ -66,7 +66,8 @@ jobs:
6666
context: .
6767
cache-from: type=gha,scope=base
6868
cache-to: type=gha,scope=base,mode=max
69-
push: ${{ github.ref == 'refs/heads/main' }}
69+
# push: ${{ github.ref == 'refs/heads/main' }}
70+
push: true
7071
tags: ${{ steps.meta.outputs.tags }}
7172
labels: ${{ steps.meta.outputs.labels }}
7273
platforms: linux/amd64
@@ -99,7 +100,7 @@ jobs:
99100
uses: docker/metadata-action@v5
100101
id: meta
101102
with:
102-
images: ghcr.io/${{ github.repository }}
103+
images: ghcr.io/${{ github.repository_owner }}/controller
103104
tags: |
104105
type=pep440,pattern={{version}},prefix=otel-
105106
type=raw,value=otel,enable={{is_default_branch}}
@@ -139,7 +140,8 @@ jobs:
139140
context: .
140141
cache-from: type=gha,scope=otel
141142
cache-to: type=gha,scope=otel,mode=max
142-
push: ${{ github.ref == 'refs/heads/main' }}
143+
# push: ${{ github.ref == 'refs/heads/main' }}
144+
push: true
143145
tags: ${{ steps.meta.outputs.tags }}
144146
labels: ${{ steps.meta.outputs.labels }}
145147
platforms: linux/amd64

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## controller-rs
22
[![ci](https://github.com/kube-rs/controller-rs/actions/workflows/ci.yml/badge.svg)](https://github.com/kube-rs/controller-rs/actions/workflows/ci.yml)
3-
[![docker image](https://img.shields.io/docker/pulls/clux/controller.svg)](
4-
https://hub.docker.com/r/clux/controller/tags/)
53

64
A rust kubernetes reference controller for a [`Document` resource](https://github.com/kube-rs/controller-rs/blob/main/yaml/crd.yaml) using [kube](https://github.com/kube-rs/kube/), with observability instrumentation.
75

@@ -26,6 +24,8 @@ kubectl wait --for=condition=available deploy/doc-controller --timeout=30s
2624
kubectl port-forward service/doc-controller 8080:80
2725
```
2826

27+
The helm chart sets up the [container](https://github.com/kube-rs/controller-rs/pkgs/container/controller) built from this repository.
28+
2929
### Opentelemetry
3030

3131
Build and run with `telemetry` feature, or configure it via `helm`:

charts/doc-controller/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace: "default"
44
version: "" # pin a specific version
55

66
image:
7-
repository: clux/controller
7+
repository: ghcr.io/kube-rs/controller-rs
88
pullPolicy: IfNotPresent
99

1010
imagePullSecrets: []

yaml/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ spec:
139139
{}
140140
containers:
141141
- name: doc-controller
142-
image: clux/controller:0.15.0
142+
image: ghcr.io/kube-rs/controller-rs:0.15.0
143143
imagePullPolicy: IfNotPresent
144144
securityContext:
145145
{}

0 commit comments

Comments
 (0)