Skip to content

Commit 8061fe4

Browse files
committed
update helm chart
1 parent 1807bd4 commit 8061fe4

File tree

2 files changed

+47
-11
lines changed

2 files changed

+47
-11
lines changed

.github/workflows/helm-oci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Docker
2+
3+
on:
4+
schedule:
5+
- cron: "15 14 * * *"
6+
push:
7+
paths:
8+
- "charts/**"
9+
10+
branches: ["main", "staging"]
11+
# Publish semver tags as releases.
12+
tags: ["v*.*.*"]
13+
pull_request:
14+
branches: ["main"]
15+
workflow_dispatch:
16+
17+
jobs:
18+
docker:
19+
uses: appany/[email protected]
20+
with:
21+
name: chisel-operator
22+
repository: chisel-operator
23+
tag: 0.1.0
24+
path: charts/chisel-operator
25+
registry: ghcr.io
26+
registry_username: ${{ github.actor }}
27+
registry_password: ${{ secrets.GITHUB_TOKEN }}
28+
update_dependencies: 'true' # Defaults to false
29+
permissions:
30+
contents: read
31+
packages: write
32+
# This is used to complete the identity challenge
33+
# with sigstore/fulcio when running outside of PRs.
34+
id-token: write

charts/chisel-operator/templates/crds/exit-node.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
scope: Namespaced
1616
versions:
1717
- additionalPrinterColumns: []
18-
name: v1
18+
name: v1.1
1919
schema:
2020
openAPIV3Schema:
2121
description: Auto-generated derived type for ExitNodeSpec via `CustomResource`
@@ -68,20 +68,22 @@ spec:
6868
provider:
6969
type: string
7070
service_binding:
71-
nullable: true
72-
properties:
73-
name:
74-
type: string
75-
namespace:
76-
type: string
77-
required:
78-
- name
79-
- namespace
80-
type: object
71+
items:
72+
properties:
73+
name:
74+
type: string
75+
namespace:
76+
type: string
77+
required:
78+
- name
79+
- namespace
80+
type: object
81+
type: array
8182
required:
8283
- ip
8384
- name
8485
- provider
86+
- service_binding
8587
type: object
8688
required:
8789
- spec

0 commit comments

Comments
 (0)