File tree 3 files changed +36
-4
lines changed
3 files changed +36
-4
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
release :
10
10
runs-on : ubuntu-latest
11
+ permissions :
12
+ contents : write # needed to pull git repo and create "chart-release"
13
+ id-token : write # needed for signing the images with GitHub OIDC Token
11
14
steps :
15
+ - name : Install Cosign
16
+ uses : sigstore/cosign-installer@main
17
+ with :
18
+ cosign-release : " v2.4.1"
19
+
20
+ - name : Login to GitHub Container Registry
21
+
22
+ with :
23
+ registry : ghcr.io
24
+ username : ${{ github.actor }}
25
+ password : ${{ secrets.GITHUB_TOKEN }}
26
+
12
27
- name : Checkout
13
28
uses : actions/checkout@v4
14
29
with :
19
34
git config user.name "$GITHUB_ACTOR"
20
35
git config user.email "[email protected] "
21
36
22
-
23
37
- name : Set up Helm
24
38
uses : azure/setup-helm@v4
25
39
with :
29
43
30
44
env :
31
45
CR_TOKEN : " ${{ secrets.GITHUB_TOKEN }}"
46
+
47
+ - name : Publish chart to ghcr.io
48
+ run : |
49
+ helm package charts/coredns
50
+ helm push coredns-*.tgz oci://ghcr.io/coredns/charts
51
+ rm -rf coredns-*.tgz
Original file line number Diff line number Diff line change 1
1
apiVersion : v2
2
2
name : coredns
3
- version : 1.37.1
3
+ version : 1.38.0
4
4
appVersion : 1.11.4
5
5
home : https://coredns.io
6
6
icon : https://coredns.io/images/CoreDNS_Colour_Horizontal.png
@@ -19,5 +19,7 @@ maintainers:
19
19
type : application
20
20
annotations :
21
21
artifacthub.io/changes : |
22
- - kind: changed
23
- description: Fixed typo in readme
22
+ - kind: added
23
+ description: Adds publishing to github registry
24
+ - kind: added
25
+ description: Adds signing of helm chart
Original file line number Diff line number Diff line change @@ -34,6 +34,16 @@ The command deploys CoreDNS on the Kubernetes cluster in the default configurati
34
34
35
35
> ** Tip** : List all releases using ` helm list --all-namespaces `
36
36
37
+ ## OCI installing
38
+
39
+ The chart can also be installed using the following:
40
+
41
+ ``` console
42
+ $ helm --namespace=kube-system install coredns oci://ghcr.io/coredns/charts/coredns --version 1.38.0
43
+ ```
44
+
45
+ The command deploys the ` 1.38.0 ` version of CoreDNS on the Kubernetes cluster in the default configuration.
46
+
37
47
## Uninstalling the Chart
38
48
39
49
To uninstall/delete the ` coredns ` deployment:
You can’t perform that action at this time.
0 commit comments