Compare commits

...
5 Commits
Author SHA1 Message Date
Daniel FarrellandStephen Kitt fb66cc28b2 Name RBAC fields to match K8s requirements
The colon in these field names isn't allowed by K8s, and fails ct
linting. Use the new names from submariner-operator, which have already
been renamed to fix this.

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
(cherry picked from commit c8b09b5c31)
2021-06-29 11:26:41 +02:00
Daniel FarrellandStephen Kitt e13cffdb4d Add required apiVersion field to Chart.yaml
This field is required by standard chart schemas. It should be v2 for
Charts that support Helm v3, as we do.

Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
(cherry picked from commit df86353f4b)
2021-06-29 11:26:41 +02:00
Steve MattarandStephen Kitt 6a0c5f2c29 fix(rbac): add missing cluster roles to submariner-operator
Signed-off-by: Steve Mattar <smattar@redhat.com>
(cherry picked from commit 12c8e9b3ff)
2021-06-29 11:26:41 +02:00
Automated Release 4126e0fb08 Update base image to use stable branch 'release-0.9'
Signed-off-by: Automated Release <release@submariner.io>
2021-04-30 09:49:39 +00:00
Stephen KittandThomas Pantelis 2b992c9f04 Disable the DCO GHA
We've installed the DCO bot instead, as requested by the CNCF.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
2021-04-28 08:43:32 -04:00
11 changed files with 20 additions and 29 deletions
+3 -3
View File
@@ -6,9 +6,9 @@ on:
jobs: jobs:
target_devel: target_devel:
name: PR targets devel name: PR targets release-0.9
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check that the PR targets devel - name: Check that the PR targets release-0.9
if: ${{ github.base_ref != 'devel' }} if: ${{ github.base_ref != 'release-0.9' }}
run: exit 1 run: exit 1
+2 -2
View File
@@ -26,11 +26,11 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Run E2E deployment and tests - name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/e2e@devel uses: submariner-io/shipyard/gh-actions/e2e@release-0.9
with: with:
k8s_version: ${{ matrix.k8s_version }} k8s_version: ${{ matrix.k8s_version }}
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }} using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
- name: Post mortem - name: Post mortem
if: failure() if: failure()
uses: submariner-io/shipyard/gh-actions/post-mortem@devel uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.9
+2 -2
View File
@@ -21,10 +21,10 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Run E2E deployment and tests - name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/e2e@devel uses: submariner-io/shipyard/gh-actions/e2e@release-0.9
with: with:
using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }} using: ${{ matrix.cable_driver }} ${{ matrix.globalnet }} ${{ matrix.lighthouse }}
- name: Post mortem - name: Post mortem
if: failure() if: failure()
uses: submariner-io/shipyard/gh-actions/post-mortem@devel uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.9
-14
View File
@@ -5,20 +5,6 @@ on:
pull_request: pull_request:
jobs: jobs:
dco:
name: DCO in Commit Message(s)
runs-on: ubuntu-latest
steps:
- name: Get PR commits
id: 'get-pr-commits'
uses: tim-actions/get-pr-commits@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run DCO check
uses: tim-actions/dco@master
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
gitlint: gitlint:
name: Commit Message(s) name: Commit Message(s)
runs-on: ubuntu-latest runs-on: ubuntu-latest
+1 -1
View File
@@ -4,7 +4,7 @@ name: Release Charts
on: on:
push: push:
branches: branches:
- devel - release-0.9
jobs: jobs:
release: release:
+1 -1
View File
@@ -1,5 +1,5 @@
ARG BASE_BRANCH ARG BASE_BRANCH
FROM quay.io/submariner/shipyard-dapper-base:${BASE_BRANCH} FROM quay.io/submariner/shipyard-dapper-base:release-0.9
ARG DAPPER_HOST_ARCH ARG DAPPER_HOST_ARCH
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} \ ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH} \
+1 -1
View File
@@ -1,4 +1,4 @@
BASE_BRANCH ?= devel BASE_BRANCH ?= release-0.9
export BASE_BRANCH export BASE_BRANCH
ifneq (,$(DAPPER_HOST_ARCH)) ifneq (,$(DAPPER_HOST_ARCH))
+1
View File
@@ -1,6 +1,7 @@
--- ---
name: submariner-k8s-broker name: submariner-k8s-broker
version: 0.6.0 version: 0.6.0
apiVersion: v2
appVersion: 0.6.0 appVersion: 0.6.0
description: Submariner Kubernetes Broker description: Submariner Kubernetes Broker
keywords: keywords:
+3 -3
View File
@@ -2,7 +2,7 @@
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ template "submariner-k8s-broker.fullname" . }}:client name: {{ template "submariner-k8s-broker.fullname" . }}-cluster
labels: labels:
heritage: {{ .Release.Service | quote }} heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }} release: {{ .Release.Name | quote }}
@@ -25,11 +25,11 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: {{ template "submariner-k8s-broker.fullname" . }}:client name: {{ template "submariner-k8s-broker.fullname" . }}-cluster
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
name: {{ template "submariner-k8s-broker.fullname" . }}:client name: {{ template "submariner-k8s-broker.fullname" . }}-cluster
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ template "submariner-k8s-broker.clientServiceAccountName" . }} name: {{ template "submariner-k8s-broker.clientServiceAccountName" . }}
+1
View File
@@ -1,6 +1,7 @@
--- ---
name: submariner-operator name: submariner-operator
version: 0.7.0 version: 0.7.0
apiVersion: v2
appVersion: 0.7.0 appVersion: 0.7.0
description: Submariner enables direct networking between Pods and Services in different Kubernetes clusters description: Submariner enables direct networking between Pods and Services in different Kubernetes clusters
keywords: keywords:
+4 -1
View File
@@ -397,6 +397,7 @@ rules:
resources: resources:
- configmaps - configmaps
verbs: verbs:
- create
- get - get
- list - list
- watch - watch
@@ -411,11 +412,13 @@ rules:
- create - create
- update - update
- delete - delete
- apiGroups: # pods and services are looked up to figure out network settings - watch
- apiGroups: # pods, services and nodes are looked up to figure out network settings
- "" - ""
resources: resources:
- pods - pods
- services - services
- nodes
verbs: verbs:
- get - get
- list - list