mirror of
https://github.com/submariner-io/submariner-charts.git
synced 2026-09-21 20:50:35 +00:00
Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2cfbd5c394 | ||
|
|
42a2af008a | ||
|
|
1fbd3da4ae | ||
|
|
8c2c55cc9b | ||
|
|
fc77796287 | ||
|
|
220ccc34f5 | ||
|
|
c3a885fec9 | ||
|
|
17f4fecfd9 | ||
|
|
9ee272bec8 | ||
|
|
9347e8f345 | ||
|
|
916f255461 | ||
|
|
756daf344e | ||
|
|
839d20f972 |
@@ -5,10 +5,10 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
target_devel:
|
target_branch:
|
||||||
name: PR targets release-0.11
|
name: PR targets branch
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check that the PR targets release-0.11
|
- name: Check that the PR targets devel
|
||||||
if: ${{ github.base_ref != 'release-0.11' }}
|
if: ${{ github.base_ref != 'devel' }}
|
||||||
run: exit 1
|
run: exit 1
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
cable_driver: ['libreswan', 'wireguard', 'vxlan']
|
cable_driver: ['libreswan', 'wireguard', 'vxlan']
|
||||||
globalnet: ['', 'globalnet']
|
globalnet: ['', 'globalnet']
|
||||||
k8s_version: ['1.23']
|
k8s_version: ['1.19']
|
||||||
lighthouse: ['', 'lighthouse']
|
lighthouse: ['', 'lighthouse']
|
||||||
include:
|
include:
|
||||||
- k8s_version: '1.20'
|
- k8s_version: '1.20'
|
||||||
@@ -27,11 +27,11 @@ jobs:
|
|||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@release-0.11
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
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@release-0.11
|
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ jobs:
|
|||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@release-0.11
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
|
|
||||||
- name: Post mortem
|
- name: Post mortem
|
||||||
if: failure()
|
if: failure()
|
||||||
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.11
|
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
||||||
|
|||||||
@@ -22,10 +22,10 @@ jobs:
|
|||||||
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
|
||||||
|
|
||||||
- name: Run E2E deployment and tests
|
- name: Run E2E deployment and tests
|
||||||
uses: submariner-io/shipyard/gh-actions/e2e@release-0.11
|
uses: submariner-io/shipyard/gh-actions/e2e@devel
|
||||||
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@release-0.11
|
uses: submariner-io/shipyard/gh-actions/post-mortem@devel
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ name: Release Charts
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- release-0.11
|
- devel
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
cni: ovn
|
||||||
|
submariner: true
|
||||||
|
nodes: control-plane worker worker
|
||||||
|
clusters:
|
||||||
|
cluster1:
|
||||||
|
cluster2:
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
cni: weave
|
||||||
|
submariner: true
|
||||||
|
nodes: control-plane worker
|
||||||
|
clusters:
|
||||||
|
cluster1:
|
||||||
|
cluster2:
|
||||||
@@ -1,3 +1 @@
|
|||||||
# Auto-generated, do not edit; see CODEOWNERS.in
|
|
||||||
* @Oats87 @skitt @sridhargaddam @tpantelis
|
* @Oats87 @skitt @sridhargaddam @tpantelis
|
||||||
*.md @dfarrell07 @Oats87 @skitt @sridhargaddam @tpantelis
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
@dfarrell07 *.md
|
|
||||||
@Oats87 *
|
|
||||||
@skitt *
|
|
||||||
@sridhargaddam *
|
|
||||||
@tpantelis *
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
BASE_BRANCH ?= release-0.11
|
BASE_BRANCH ?= devel
|
||||||
export BASE_BRANCH
|
export BASE_BRANCH
|
||||||
|
|
||||||
ifneq (,$(DAPPER_HOST_ARCH))
|
ifneq (,$(DAPPER_HOST_ARCH))
|
||||||
@@ -9,11 +9,10 @@ PRELOAD_IMAGES := submariner-gateway submariner-operator submariner-route-agent
|
|||||||
|
|
||||||
include $(SHIPYARD_DIR)/Makefile.inc
|
include $(SHIPYARD_DIR)/Makefile.inc
|
||||||
|
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings
|
|
||||||
ifneq (,$(filter ovn,$(_using)))
|
ifneq (,$(filter ovn,$(_using)))
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings.ovn
|
CLUSTER_SETTINGS_FLAG = --settings $(DAPPER_SOURCE)/.shipyard.e2e.ovn.yml
|
||||||
else
|
else
|
||||||
CLUSTER_SETTINGS_FLAG = --cluster_settings $(DAPPER_SOURCE)/cluster_settings
|
CLUSTER_SETTINGS_FLAG = --settings $(DAPPER_SOURCE)/.shipyard.e2e.yml
|
||||||
endif
|
endif
|
||||||
|
|
||||||
override CLUSTERS_ARGS += $(CLUSTER_SETTINGS_FLAG)
|
override CLUSTERS_ARGS += $(CLUSTER_SETTINGS_FLAG)
|
||||||
@@ -21,7 +20,7 @@ override DEPLOY_ARGS += $(CLUSTER_SETTINGS_FLAG) --deploytool helm
|
|||||||
export DEPLOY_ARGS
|
export DEPLOY_ARGS
|
||||||
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
GH_URL=https://submariner-io.github.io/submariner-charts/charts
|
||||||
CHARTS_DIR=charts
|
CHARTS_DIR=charts
|
||||||
CHARTS_VERSION=0.11.1
|
CHARTS_VERSION=0.10.1
|
||||||
HELM_DOCS_VERSION=0.15.0
|
HELM_DOCS_VERSION=0.15.0
|
||||||
REPO_URL=$(shell git config remote.origin.url)
|
REPO_URL=$(shell git config remote.origin.url)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
. "${SCRIPTS_DIR}"/lib/source_only
|
|
||||||
|
|
||||||
# We need a minimal setup to verify the deployment works
|
|
||||||
clusters=('cluster1' 'cluster2')
|
|
||||||
cluster_nodes['cluster1']="control-plane worker"
|
|
||||||
cluster_nodes['cluster2']="control-plane worker"
|
|
||||||
|
|
||||||
cluster_cni=( ['cluster1']="weave" ['cluster2']="weave" )
|
|
||||||
|
|
||||||
cluster_subm=( ['cluster1']="true" ['cluster2']="true" )
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
. "${SCRIPTS_DIR}"/lib/source_only
|
|
||||||
|
|
||||||
# We need a minimal setup to verify the deployment works
|
|
||||||
clusters=('cluster1' 'cluster2')
|
|
||||||
cluster_nodes['cluster1']="control-plane worker worker"
|
|
||||||
cluster_nodes['cluster2']="control-plane worker worker"
|
|
||||||
|
|
||||||
cluster_cni=( ['cluster1']="ovn" ['cluster2']="ovn" )
|
|
||||||
|
|
||||||
cluster_subm=( ['cluster1']="true" ['cluster2']="true" )
|
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
name: submariner-operator
|
name: submariner-operator
|
||||||
version: 0.11.1
|
version: 0.10.1
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: 0.11.1
|
appVersion: 0.10.1
|
||||||
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:
|
||||||
home: https://submariner-io.github.io/
|
home: https://submariner-io.github.io/
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# submariner-operator
|
# submariner-operator
|
||||||
|
|
||||||
 
|
 
|
||||||
|
|
||||||
Submariner enables direct networking between Pods and Services in different Kubernetes clusters
|
Submariner enables direct networking between Pods and Services in different Kubernetes clusters
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ Submariner enables direct networking between Pods and Services in different Kube
|
|||||||
| broker.server | string | `"example.k8s.apiserver"` | |
|
| broker.server | string | `"example.k8s.apiserver"` | |
|
||||||
| broker.token | string | `"test"` | |
|
| broker.token | string | `"test"` | |
|
||||||
| gateway.image.repository | string | `"quay.io/submariner/submariner-gateway"` | |
|
| gateway.image.repository | string | `"quay.io/submariner/submariner-gateway"` | |
|
||||||
| gateway.image.tag | string | `"0.11.1"` | |
|
| gateway.image.tag | string | `"0.10.1"` | |
|
||||||
| ipsec.debug | bool | `false` | |
|
| ipsec.debug | bool | `false` | |
|
||||||
| ipsec.forceUDPEncaps | bool | `false` | |
|
| ipsec.forceUDPEncaps | bool | `false` | |
|
||||||
| ipsec.ikePort | int | `500` | |
|
| ipsec.ikePort | int | `500` | |
|
||||||
@@ -39,7 +39,7 @@ Submariner enables direct networking between Pods and Services in different Kube
|
|||||||
| operator.affinity | object | `{}` | |
|
| operator.affinity | object | `{}` | |
|
||||||
| operator.image.pullPolicy | string | `"IfNotPresent"` | |
|
| operator.image.pullPolicy | string | `"IfNotPresent"` | |
|
||||||
| operator.image.repository | string | `"quay.io/submariner/submariner-operator"` | |
|
| operator.image.repository | string | `"quay.io/submariner/submariner-operator"` | |
|
||||||
| operator.image.tag | string | `"0.11.1"` | |
|
| operator.image.tag | string | `"0.10.1"` | |
|
||||||
| operator.resources | object | `{}` | |
|
| operator.resources | object | `{}` | |
|
||||||
| operator.tolerations | list | `[]` | |
|
| operator.tolerations | list | `[]` | |
|
||||||
| rbac.create | bool | `true` | |
|
| rbac.create | bool | `true` | |
|
||||||
@@ -64,7 +64,7 @@ Submariner enables direct networking between Pods and Services in different Kube
|
|||||||
| submariner.globalCidr | string | `""` | |
|
| submariner.globalCidr | string | `""` | |
|
||||||
| submariner.healthcheckEnabled | bool | `true` | |
|
| submariner.healthcheckEnabled | bool | `true` | |
|
||||||
| submariner.images.repository | string | `"quay.io/submariner"` | |
|
| submariner.images.repository | string | `"quay.io/submariner"` | |
|
||||||
| submariner.images.tag | string | `"0.11.1"` | |
|
| submariner.images.tag | string | `"0.10.1"` | |
|
||||||
| submariner.natEnabled | bool | `false` | |
|
| submariner.natEnabled | bool | `false` | |
|
||||||
| submariner.serviceCidr | string | `""` | |
|
| submariner.serviceCidr | string | `""` | |
|
||||||
| submariner.serviceDiscovery | bool | `true` | |
|
| submariner.serviceDiscovery | bool | `true` | |
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
label: Submariner Operator Image Repository
|
label: Submariner Operator Image Repository
|
||||||
- variable: operator.image.tag
|
- variable: operator.image.tag
|
||||||
default: "0.11.1"
|
default: "0.10.1"
|
||||||
description: "Submariner Operator Image Tag"
|
description: "Submariner Operator Image Tag"
|
||||||
type: string
|
type: string
|
||||||
label: Submariner Operator Image Tag
|
label: Submariner Operator Image Tag
|
||||||
@@ -31,7 +31,7 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
label: Submariner Repository
|
label: Submariner Repository
|
||||||
- variable: submariner.images.tag
|
- variable: submariner.images.tag
|
||||||
default: "0.11.1"
|
default: "0.10.1"
|
||||||
description: "Submariner Images Tag (shared for all non-operator images)"
|
description: "Submariner Images Tag (shared for all non-operator images)"
|
||||||
type: string
|
type: string
|
||||||
label: Submariner Images Tag
|
label: Submariner Images Tag
|
||||||
|
|||||||
@@ -439,21 +439,6 @@ rules:
|
|||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- namespaces
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- apiGroups:
|
|
||||||
- monitoring.coreos.com
|
|
||||||
resources:
|
|
||||||
- servicemonitors
|
|
||||||
verbs:
|
|
||||||
- get
|
|
||||||
- create
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
@@ -474,29 +459,6 @@ roleRef:
|
|||||||
name: {{ template "submariner.fullname" . }}
|
name: {{ template "submariner.fullname" . }}
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
|
||||||
metadata:
|
|
||||||
name: submariner-metrics-reader
|
|
||||||
namespace: {{ .Release.Namespace }}
|
|
||||||
rules:
|
|
||||||
- apiGroups: [""]
|
|
||||||
resources: ["pods", "services", "endpoints"]
|
|
||||||
verbs: ["get", "list", "watch"]
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: RoleBinding
|
|
||||||
metadata:
|
|
||||||
name: read-submariner-metrics
|
|
||||||
subjects:
|
|
||||||
- kind: ServiceAccount
|
|
||||||
name: prometheus-k8s
|
|
||||||
namespace: openshift-monitoring
|
|
||||||
roleRef:
|
|
||||||
kind: Role
|
|
||||||
name: submariner-metrics-reader
|
|
||||||
apiGroup: rbac.authorization.k8s.io
|
|
||||||
---
|
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
|
||||||
kind: ClusterRole
|
kind: ClusterRole
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "submariner.fullname" . }}:gateway
|
name: {{ template "submariner.fullname" . }}:gateway
|
||||||
@@ -678,25 +640,14 @@ rules:
|
|||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
|
- services
|
||||||
- namespaces
|
- namespaces
|
||||||
- nodes
|
- nodes
|
||||||
- endpoints
|
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
- update
|
- update
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- services
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- watch
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- submariner.io
|
- submariner.io
|
||||||
resources:
|
resources:
|
||||||
@@ -737,15 +688,6 @@ rules:
|
|||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
- apiGroups:
|
|
||||||
- network.openshift.io
|
|
||||||
resources:
|
|
||||||
- service/externalips
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- get
|
|
||||||
- list
|
|
||||||
- delete
|
|
||||||
---
|
---
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
|||||||
@@ -33,6 +33,6 @@ spec:
|
|||||||
maxPacketLossCount: 5
|
maxPacketLossCount: 5
|
||||||
{{- with .Values.submariner.coreDNSCustomConfig }}
|
{{- with .Values.submariner.coreDNSCustomConfig }}
|
||||||
coreDNSCustomConfig:
|
coreDNSCustomConfig:
|
||||||
configmapName: {{ .configmapName }}
|
configmapName: .configmapName
|
||||||
namespace: {{ .namespace }}
|
namespace: .namespace
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ submariner:
|
|||||||
coreDNSCustomConfig: {}
|
coreDNSCustomConfig: {}
|
||||||
images:
|
images:
|
||||||
repository: quay.io/submariner
|
repository: quay.io/submariner
|
||||||
tag: "0.11.1"
|
tag: "0.10.1"
|
||||||
broker:
|
broker:
|
||||||
server: example.k8s.apiserver
|
server: example.k8s.apiserver
|
||||||
token: test
|
token: test
|
||||||
@@ -37,7 +37,7 @@ leadership:
|
|||||||
operator:
|
operator:
|
||||||
image:
|
image:
|
||||||
repository: quay.io/submariner/submariner-operator
|
repository: quay.io/submariner/submariner-operator
|
||||||
tag: "0.11.1"
|
tag: "0.10.1"
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
resources: {}
|
resources: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
@@ -45,7 +45,7 @@ operator:
|
|||||||
gateway:
|
gateway:
|
||||||
image:
|
image:
|
||||||
repository: quay.io/submariner/submariner-gateway
|
repository: quay.io/submariner/submariner-gateway
|
||||||
tag: "0.11.1"
|
tag: "0.10.1"
|
||||||
serviceAccounts:
|
serviceAccounts:
|
||||||
operator:
|
operator:
|
||||||
create: true
|
create: true
|
||||||
|
|||||||
Reference in New Issue
Block a user