Compare commits

..
23 Commits
Author SHA1 Message Date
Automated ReleaseandSubmariner Bot efd4cfa412 Update Submariner dependencies to v0.17.2
Signed-off-by: Automated Release <release@submariner.io>
2024-06-26 17:47:41 +03:00
dependabot[bot]andThomas Pantelis fbf6638969 Bump actions/checkout from 4.1.6 to 4.1.7 in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/a5ac7e51b41094c92402da3b24376905380afc29...692973e3d937129bcbf40652eb9f2f61becf3332)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-20 08:19:29 -04:00
dependabot[bot]andThomas Pantelis 00b58a33ff Bump actions/checkout from 4.1.4 to 4.1.6 in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.4 to 4.1.6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/0ad4b8fadaa221de15dcec353f45205ec38ea70b...a5ac7e51b41094c92402da3b24376905380afc29)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-03 07:15:21 -04:00
Tom PantelisandStephen Kitt 351fbb475c Add RBAC access to finalizers for the operator role
On Openshift, the operator failed with error

"\"submariner-gateway\" is forbidden: cannot set blockOwnerDeletion
if an ownerReference refers to a resource you can't set finalizers on"

Openshift enables OwnerReferencesPermissionEnforcement, so
in order to set blockOwnerDeletion for an object, the user needs
update permission for the finalizers subresource of the referenced
owner. In this case the owner is the Submariner object.

Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-21 18:54:20 +02:00
Tom PantelisandDaniel Farrell ad3ab224f8 Restore CRUD Secret RBAC permissons for the operator Role
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell 88ac54d5a3 Reduce lighthouse-agent RBAC permissions
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell 751bf7fb4f Reduce lighthouse-coredns RBAC permissions
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell e4e356b8ac Reduce submariner-globalnet RBAC permissions
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell 32ad1c5f88 Reduce submariner-routeagent RBAC permissions
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell eb1d9189c6 Reduce submariner-gateway RBAC permissions
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell ca3fa92e6e Reduce submariner-operator RBAC permissions
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
Tom PantelisandDaniel Farrell 3b86e6d331 Add Makefile.shipyard to .gitignore
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-05-07 10:48:40 -04:00
dependabot[bot]andThomas Pantelis 27aadaf68a Bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [azure/setup-helm](https://github.com/azure/setup-helm).


Updates `actions/checkout` from 4.1.2 to 4.1.4
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/9bb56186c3b09b4f86b1c65136769dd318469633...0ad4b8fadaa221de15dcec353f45205ec38ea70b)

Updates `azure/setup-helm` from 3.5 to 4
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Changelog](https://github.com/Azure/setup-helm/blob/main/CHANGELOG.md)
- [Commits](https://github.com/azure/setup-helm/compare/5119fcb9089d432beecbf79bb2c7915207344b78...fe7b79cd5ee1e45176fcad797de68ecaf3ca4814)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-01 07:58:41 -04:00
Automated ReleaseandSubmariner Bot 320a38de9b Update Submariner dependencies to v0.17.1
Signed-off-by: Automated Release <release@submariner.io>
2024-04-17 06:34:40 +03:00
dependabot[bot]andThomas Pantelis 3d18d4de5d Bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [actions/setup-python](https://github.com/actions/setup-python).


Updates `actions/checkout` from 4.1.1 to 4.1.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/b4ffde65f46336ab88eb53be808477a3936bae11...9bb56186c3b09b4f86b1c65136769dd318469633)

Updates `actions/setup-python` from 5.0.0 to 5.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/0a5c61591373683505ea898e09a3ea4f39ef2b9c...82c7e631bb3cdc910f68e0081d67478d79c6982d)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 11:08:42 -04:00
Tom Pantelis 4147c2924e Use K8s 1.29 as latest in E2E
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
2024-03-27 10:03:23 -04:00
dependabot[bot]andThomas Pantelis af35e09fcb Bump the github-actions group with 2 updates
Bumps the github-actions group with 2 updates: [tim-actions/get-pr-commits](https://github.com/tim-actions/get-pr-commits) and [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file).


Updates `tim-actions/get-pr-commits` from 1.3.0 to 1.3.1
- [Release notes](https://github.com/tim-actions/get-pr-commits/releases)
- [Commits](https://github.com/tim-actions/get-pr-commits/compare/3efc1387ead42029a0d488ab98f24b7452dc3cde...198af03565609bb4ed924d1260247b4881f09e7d)

Updates `peter-evans/create-issue-from-file` from 4.0.1 to 5.0.0
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases)
- [Commits](https://github.com/peter-evans/create-issue-from-file/compare/433e51abf769039ee20ba1293a088ca19d573b7f...24452a72d85239eacf1468b0f1982a9f3fec4c94)

---
updated-dependencies:
- dependency-name: tim-actions/get-pr-commits
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: peter-evans/create-issue-from-file
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 08:47:24 -05:00
Automated ReleaseandSubmariner Bot d43e2a96ef Update Submariner dependencies to v0.17.0
Signed-off-by: Automated Release <release@submariner.io>
2024-02-26 16:37:40 +02:00
Automated ReleaseandSubmariner Bot e57b7c9bee Update Submariner dependencies to v0.17.0-rc1
Signed-off-by: Automated Release <release@submariner.io>
2024-02-20 13:05:14 +02:00
Daniel FarrellandThomas Pantelis f25c181b97 Add committers to Makefile
To allow more folks to help make releases.

Relates-to: submariner-io/submariner#2900
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
(cherry picked from commit e416a2d206)
2024-02-09 10:19:27 -05:00
Stephen KittandThomas Pantelis e2ac7c504f Add vthapar as code owner
Signed-off-by: Stephen Kitt <skitt@redhat.com>
(cherry picked from commit 7685e7ae06)
2024-02-09 10:19:27 -05:00
Automated ReleaseandSubmariner Bot 62d30c02da Update Submariner dependencies to v0.17.0-rc0
Signed-off-by: Automated Release <release@submariner.io>
2024-01-25 11:10:41 +02:00
Automated Release a806a2a5c9 Update base image to use stable branch 'release-0.17'
Signed-off-by: Automated Release <release@submariner.io>
2024-01-24 15:43:33 +00:00
13 changed files with 907 additions and 1097 deletions
+9 -18
View File
@@ -9,6 +9,15 @@ updates:
github-actions: github-actions:
patterns: patterns:
- "*" - "*"
- package-ecosystem: github-actions
directory: '/'
target-branch: "release-0.14"
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: github-actions - package-ecosystem: github-actions
directory: '/' directory: '/'
target-branch: "release-0.15" target-branch: "release-0.15"
@@ -27,21 +36,3 @@ updates:
github-actions: github-actions:
patterns: patterns:
- "*" - "*"
- package-ecosystem: github-actions
directory: '/'
target-branch: "release-0.17"
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: github-actions
directory: '/'
target-branch: "release-0.18"
schedule:
interval: monthly
groups:
github-actions:
patterns:
- "*"
+2 -2
View File
@@ -11,6 +11,6 @@ jobs:
name: PR targets branch name: PR targets branch
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check that the PR targets release-0.19 - name: Check that the PR targets release-0.17
if: ${{ github.base_ref != 'release-0.19' }} if: ${{ github.base_ref != 'release-0.17' }}
run: exit 1 run: exit 1
+2 -2
View File
@@ -29,11 +29,11 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Run E2E deployment and tests - name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/e2e@release-0.19 uses: submariner-io/shipyard/gh-actions/e2e@release-0.17
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.19 uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.17
+2 -2
View File
@@ -16,8 +16,8 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Run E2E deployment and tests - name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/e2e@release-0.19 uses: submariner-io/shipyard/gh-actions/e2e@release-0.17
- name: Post mortem - name: Post mortem
if: failure() if: failure()
uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.19 uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.17
+2 -2
View File
@@ -24,10 +24,10 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- name: Run E2E deployment and tests - name: Run E2E deployment and tests
uses: submariner-io/shipyard/gh-actions/e2e@release-0.19 uses: submariner-io/shipyard/gh-actions/e2e@release-0.17
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.19 uses: submariner-io/shipyard/gh-actions/post-mortem@release-0.17
+1 -1
View File
@@ -46,7 +46,7 @@ jobs:
version: v3.6.0 version: v3.6.0
- name: Set up Python - name: Set up Python
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d
with: with:
python-version: '3.x' python-version: '3.x'
+1 -1
View File
@@ -4,7 +4,7 @@ name: Release Charts
on: on:
push: push:
branches: branches:
- release-0.19 - release-0.17
permissions: permissions:
contents: write contents: write
+2 -2
View File
@@ -1,4 +1,4 @@
BASE_BRANCH ?= release-0.19 BASE_BRANCH ?= release-0.17
export BASE_BRANCH export BASE_BRANCH
export HELM_REPO_LOCATION=./helm_repo export HELM_REPO_LOCATION=./helm_repo
@@ -17,7 +17,7 @@ endif
export DEPLOYTOOL = helm export DEPLOYTOOL = helm
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.19.2 CHARTS_VERSION=0.17.2
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)
-2
View File
@@ -58,8 +58,6 @@ Submariner enables direct networking between Pods and Services in different Kube
| submariner.coreDNSCustomConfig | object | `{}` | | | submariner.coreDNSCustomConfig | object | `{}` | |
| submariner.debug | bool | `false` | | | submariner.debug | bool | `false` | |
| submariner.globalCidr | string | `""` | | | submariner.globalCidr | string | `""` | |
| submariner.clustersetIpCidr | string | `""` | |
| submariner.clustersetIpEnabled | bool | `false` | |
| 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.14.0"` | | | submariner.images.tag | string | `"0.14.0"` | |
+39 -225
View File
@@ -3,7 +3,8 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.12.1 controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: submariners.submariner.io name: submariners.submariner.io
spec: spec:
group: submariner.io group: submariner.io
@@ -17,7 +18,7 @@ spec:
- name: v1alpha1 - name: v1alpha1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
description: Submariner is the Schema for the submariners API. description: Submariner is the Schema for the submariners API
properties: properties:
apiVersion: apiVersion:
description: 'APIVersion defines the versioned schema of this representation description: 'APIVersion defines the versioned schema of this representation
@@ -32,72 +33,43 @@ spec:
metadata: metadata:
type: object type: object
spec: spec:
description: SubmarinerSpec defines the desired state of Submariner. description: SubmarinerSpec defines the desired state of Submariner
properties: properties:
airGappedDeployment:
type: boolean
broker: broker:
description: Type of broker (must be "k8s").
type: string type: string
brokerK8sApiServer: brokerK8sApiServer:
description: The broker API URL.
type: string type: string
brokerK8sApiServerToken: brokerK8sApiServerToken:
description: The broker API Token.
type: string type: string
brokerK8sCA: brokerK8sCA:
description: The broker certificate authority.
type: string type: string
brokerK8sInsecure: brokerK8sInsecure:
type: boolean type: boolean
brokerK8sRemoteNamespace: brokerK8sRemoteNamespace:
description: The Broker namespace.
type: string
brokerK8sSecret:
type: string type: string
cableDriver: cableDriver:
description: Cable driver implementation - any of [libreswan, wireguard,
vxlan].
type: string type: string
ceIPSecDebug: ceIPSecDebug:
description: Enable logging IPsec debugging information.
type: boolean type: boolean
ceIPSecForceUDPEncaps: ceIPSecForceUDPEncaps:
description: Force UDP encapsulation for IPsec.
type: boolean type: boolean
ceIPSecIKEPort: ceIPSecIKEPort:
description: The IPsec IKE port (500 usually).
type: integer type: integer
ceIPSecNATTPort: ceIPSecNATTPort:
description: The IPsec NAT traversal port (4500 usually).
type: integer type: integer
ceIPSecPSK: ceIPSecPSK:
description: The IPsec Pre-Shared Key which must be identical in all
route agents across the cluster.
type: string
ceIPSecPSKSecret:
type: string type: string
ceIPSecPreferredServer: ceIPSecPreferredServer:
description: Enable this cluster as a preferred server for data-plane
connections.
type: boolean type: boolean
clusterCIDR: clusterCIDR:
description: The cluster CIDR.
type: string type: string
clusterID: clusterID:
description: The cluster ID used to identify the tunnels.
type: string
clustersetIPCIDR:
description: ClustersetIP CIDR for allocating ClustersetIPs to exported
services.
type: string type: string
colorCodes: colorCodes:
type: string type: string
connectionHealthCheck: connectionHealthCheck:
description: The gateway connection health check.
properties: properties:
enabled: enabled:
description: Enable the connection health check.
type: boolean type: boolean
intervalSeconds: intervalSeconds:
description: The interval at which health check pings are sent. description: The interval at which health check pings are sent.
@@ -110,111 +82,47 @@ spec:
type: integer type: integer
type: object type: object
coreDNSCustomConfig: coreDNSCustomConfig:
description: Name of the custom CoreDNS configmap to configure forwarding
to Lighthouse. It should be in <namespace>/<name> format where <namespace>
is optional and defaults to kube-system.
properties: properties:
configMapName: configMapName:
description: Name of the custom CoreDNS configmap.
type: string type: string
namespace: namespace:
description: Namespace of the custom CoreDNS configmap.
type: string type: string
type: object type: object
customDomains: customDomains:
description: List of domains to use for multi-cluster service discovery.
items: items:
type: string type: string
type: array type: array
x-kubernetes-list-type: set x-kubernetes-list-type: set
debug: debug:
description: Enable operator debugging.
type: boolean type: boolean
globalCIDR: globalCIDR:
description: The Global CIDR super-net range for allocating GlobalCIDRs
to each cluster.
type: string type: string
haltOnCertificateError:
description: Halt on certificate error (so the pod gets restarted).
type: boolean
imageOverrides: imageOverrides:
additionalProperties: additionalProperties:
type: string type: string
description: Override component images.
type: object type: object
loadBalancerEnabled: loadBalancerEnabled:
description: Enable automatic Load Balancer in front of the gateways.
type: boolean type: boolean
namespace: namespace:
description: The namespace in which to deploy the submariner operator.
type: string type: string
natEnabled: natEnabled:
description: Enable NAT between clusters.
type: boolean type: boolean
nodeSelector:
additionalProperties:
type: string
type: object
repository: repository:
description: The image repository.
type: string type: string
serviceCIDR: serviceCIDR:
description: The service CIDR.
type: string type: string
serviceDiscoveryEnabled: serviceDiscoveryEnabled:
description: Enable support for Service Discovery (Lighthouse).
type: boolean type: boolean
clustersetIPEnabled:
description: Enable ClustersetIP default for services exported on this
cluster.
type: boolean
tolerations:
items:
description: The pod this Toleration is attached to tolerates any
taint that matches the triple <key,value,effect> using the matching
operator <operator>.
properties:
effect:
description: Effect indicates the taint effect to match. Empty
means match all taint effects. When specified, allowed values
are NoSchedule, PreferNoSchedule and NoExecute.
type: string
key:
description: Key is the taint key that the toleration applies
to. Empty means match all taint keys. If the key is empty,
operator must be Exists; this combination means to match all
values and all keys.
type: string
operator:
description: Operator represents a key's relationship to the
value. Valid operators are Exists and Equal. Defaults to Equal.
Exists is equivalent to wildcard for value, so that a pod
can tolerate all taints of a particular category.
type: string
tolerationSeconds:
description: TolerationSeconds represents the period of time
the toleration (which must be of effect NoExecute, otherwise
this field is ignored) tolerates the taint. By default, it
is not set, which means tolerate the taint forever (do not
evict). Zero and negative values will be treated as 0 (evict
immediately) by the system.
format: int64
type: integer
value:
description: Value is the taint value the toleration matches
to. If the operator is Exists, the value should be empty,
otherwise just a regular string.
type: string
type: object
type: array
version: version:
description: The image tag.
type: string type: string
required: required:
- broker - broker
- brokerK8sApiServer - brokerK8sApiServer
- brokerK8sApiServerToken
- brokerK8sCA
- brokerK8sRemoteNamespace - brokerK8sRemoteNamespace
- ceIPSecDebug - ceIPSecDebug
- ceIPSecPSK
- clusterCIDR - clusterCIDR
- clusterID - clusterID
- debug - debug
@@ -223,23 +131,15 @@ spec:
- serviceCIDR - serviceCIDR
type: object type: object
status: status:
description: SubmarinerStatus defines the observed state of Submariner. description: SubmarinerStatus defines the observed state of Submariner
properties: properties:
airGappedDeployment:
type: boolean
clusterCIDR: clusterCIDR:
description: The current cluster CIDR.
type: string type: string
clusterID: clusterID:
description: The current cluster ID.
type: string
clustersetIPCIDR:
description: The current clustersetIP CIDR.
type: string type: string
colorCodes: colorCodes:
type: string type: string
deploymentInfo: deploymentInfo:
description: Information about the deployment.
properties: properties:
cloudProvider: cloudProvider:
type: string type: string
@@ -251,7 +151,6 @@ spec:
type: string type: string
type: object type: object
gatewayDaemonSetStatus: gatewayDaemonSetStatus:
description: The status of the gateway DaemonSet.
properties: properties:
lastResourceVersion: lastResourceVersion:
type: string type: string
@@ -275,7 +174,7 @@ spec:
description: Details about a terminated container description: Details about a terminated container
properties: properties:
containerID: containerID:
description: Container's ID in the format '<type>://<container_id>' description: Container's ID in the format 'docker://<container_id>'
type: string type: string
exitCode: exitCode:
description: Exit status from the last termination of description: Exit status from the last termination of
@@ -388,9 +287,9 @@ spec:
format: int32 format: int32
type: integer type: integer
numberReady: numberReady:
description: numberReady is the number of nodes that should description: The number of nodes that should be running the
be running the daemon pod and have one or more of the daemon daemon pod and have one or more of the daemon pod running
pod running with a Ready Condition. and ready.
format: int32 format: int32
type: integer type: integer
numberUnavailable: numberUnavailable:
@@ -419,7 +318,6 @@ spec:
- mismatchedContainerImages - mismatchedContainerImages
type: object type: object
gateways: gateways:
description: Status of the gateways in the cluster.
items: items:
properties: properties:
connections: connections:
@@ -546,10 +444,8 @@ spec:
type: object type: object
type: array type: array
globalCIDR: globalCIDR:
description: The current global CIDR.
type: string type: string
globalnetDaemonSetStatus: globalnetDaemonSetStatus:
description: The status of the Globalnet DaemonSet.
properties: properties:
lastResourceVersion: lastResourceVersion:
type: string type: string
@@ -573,7 +469,7 @@ spec:
description: Details about a terminated container description: Details about a terminated container
properties: properties:
containerID: containerID:
description: Container's ID in the format '<type>://<container_id>' description: Container's ID in the format 'docker://<container_id>'
type: string type: string
exitCode: exitCode:
description: Exit status from the last termination of description: Exit status from the last termination of
@@ -686,9 +582,9 @@ spec:
format: int32 format: int32
type: integer type: integer
numberReady: numberReady:
description: numberReady is the number of nodes that should description: The number of nodes that should be running the
be running the daemon pod and have one or more of the daemon daemon pod and have one or more of the daemon pod running
pod running with a Ready Condition. and ready.
format: int32 format: int32
type: integer type: integer
numberUnavailable: numberUnavailable:
@@ -717,7 +613,6 @@ spec:
- mismatchedContainerImages - mismatchedContainerImages
type: object type: object
loadBalancerStatus: loadBalancerStatus:
description: The status of the load balancer DaemonSet.
properties: properties:
status: status:
description: LoadBalancerStatus represents the status of a load-balancer. description: LoadBalancerStatus represents the status of a load-balancer.
@@ -739,53 +634,15 @@ spec:
description: IP is set for load-balancer ingress points description: IP is set for load-balancer ingress points
that are IP based (typically GCE or OpenStack load-balancers) that are IP based (typically GCE or OpenStack load-balancers)
type: string type: string
ports:
description: Ports is a list of records of service ports
If used, every port defined in the service should
have an entry in it
items:
properties:
error:
description: 'Error is to record the problem with
the service port The format of the error shall
comply with the following rules: - built-in
error values shall be specified in this file
and those shall use CamelCase names - cloud
provider specific error values must have names
that comply with the format foo.example.com/CamelCase.
--- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)'
maxLength: 316
pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
type: string
port:
description: Port is the port number of the service
port of which status is recorded here
format: int32
type: integer
protocol:
default: TCP
description: 'Protocol is the protocol of the
service port of which status is recorded here
The supported values are: "TCP", "UDP", "SCTP"'
type: string
required:
- port
- protocol
type: object
type: array
x-kubernetes-list-type: atomic
type: object type: object
type: array type: array
type: object type: object
type: object type: object
natEnabled: natEnabled:
description: The current NAT status.
type: boolean type: boolean
networkPlugin: networkPlugin:
description: The current network plugin.
type: string type: string
routeAgentDaemonSetStatus: routeAgentDaemonSetStatus:
description: The status of the route agent DaemonSet.
properties: properties:
lastResourceVersion: lastResourceVersion:
type: string type: string
@@ -809,7 +666,7 @@ spec:
description: Details about a terminated container description: Details about a terminated container
properties: properties:
containerID: containerID:
description: Container's ID in the format '<type>://<container_id>' description: Container's ID in the format 'docker://<container_id>'
type: string type: string
exitCode: exitCode:
description: Exit status from the last termination of description: Exit status from the last termination of
@@ -922,9 +779,9 @@ spec:
format: int32 format: int32
type: integer type: integer
numberReady: numberReady:
description: numberReady is the number of nodes that should description: The number of nodes that should be running the
be running the daemon pod and have one or more of the daemon daemon pod and have one or more of the daemon pod running
pod running with a Ready Condition. and ready.
format: int32 format: int32
type: integer type: integer
numberUnavailable: numberUnavailable:
@@ -953,11 +810,6 @@ spec:
- mismatchedContainerImages - mismatchedContainerImages
type: object type: object
serviceCIDR: serviceCIDR:
description: The current service CIDR.
type: string
version:
description: The image version in use by the various Submariner DaemonSets
and Deployments.
type: string type: string
required: required:
- clusterID - clusterID
@@ -968,12 +820,19 @@ spec:
storage: true storage: true
subresources: subresources:
status: {} status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
--- ---
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
metadata: metadata:
annotations: annotations:
controller-gen.kubebuilder.io/version: v0.12.1 controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: servicediscoveries.submariner.io name: servicediscoveries.submariner.io
spec: spec:
group: submariner.io group: submariner.io
@@ -987,7 +846,7 @@ spec:
- name: v1alpha1 - name: v1alpha1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
description: ServiceDiscovery is the Schema for the servicediscoveries API. description: ServiceDiscovery is the Schema for the servicediscoveries API
properties: properties:
apiVersion: apiVersion:
description: 'APIVersion defines the versioned schema of this representation description: 'APIVersion defines the versioned schema of this representation
@@ -1002,7 +861,7 @@ spec:
metadata: metadata:
type: object type: object
spec: spec:
description: ServiceDiscoverySpec defines the desired state of ServiceDiscovery. description: ServiceDiscoverySpec defines the desired state of ServiceDiscovery
properties: properties:
brokerK8sApiServer: brokerK8sApiServer:
type: string type: string
@@ -1014,19 +873,13 @@ spec:
type: boolean type: boolean
brokerK8sRemoteNamespace: brokerK8sRemoteNamespace:
type: string type: string
brokerK8sSecret:
type: string
clusterID: clusterID:
type: string type: string
clustersetIPCIDR:
type: string
coreDNSCustomConfig: coreDNSCustomConfig:
properties: properties:
configMapName: configMapName:
description: Name of the custom CoreDNS configmap.
type: string type: string
namespace: namespace:
description: Namespace of the custom CoreDNS configmap.
type: string type: string
type: object type: object
customDomains: customDomains:
@@ -1038,72 +891,27 @@ spec:
type: boolean type: boolean
globalnetEnabled: globalnetEnabled:
type: boolean type: boolean
haltOnCertificateError:
type: boolean
clustersetIPEnabled:
type: boolean
imageOverrides: imageOverrides:
additionalProperties: additionalProperties:
type: string type: string
type: object type: object
namespace: namespace:
type: string type: string
nodeSelector:
additionalProperties:
type: string
type: object
repository: repository:
type: string type: string
tolerations:
items:
description: The pod this Toleration is attached to tolerates any
taint that matches the triple <key,value,effect> using the matching
operator <operator>.
properties:
effect:
description: Effect indicates the taint effect to match. Empty
means match all taint effects. When specified, allowed values
are NoSchedule, PreferNoSchedule and NoExecute.
type: string
key:
description: Key is the taint key that the toleration applies
to. Empty means match all taint keys. If the key is empty,
operator must be Exists; this combination means to match all
values and all keys.
type: string
operator:
description: Operator represents a key's relationship to the
value. Valid operators are Exists and Equal. Defaults to Equal.
Exists is equivalent to wildcard for value, so that a pod
can tolerate all taints of a particular category.
type: string
tolerationSeconds:
description: TolerationSeconds represents the period of time
the toleration (which must be of effect NoExecute, otherwise
this field is ignored) tolerates the taint. By default, it
is not set, which means tolerate the taint forever (do not
evict). Zero and negative values will be treated as 0 (evict
immediately) by the system.
format: int64
type: integer
value:
description: Value is the taint value the toleration matches
to. If the operator is Exists, the value should be empty,
otherwise just a regular string.
type: string
type: object
type: array
version: version:
type: string type: string
required: required:
- brokerK8sApiServer - brokerK8sApiServer
- brokerK8sApiServerToken
- brokerK8sCA
- brokerK8sRemoteNamespace - brokerK8sRemoteNamespace
- clusterID - clusterID
- debug - debug
- namespace - namespace
type: object type: object
status: status:
description: ServiceDiscoveryStatus defines the observed state of ServiceDiscovery. description: ServiceDiscoveryStatus defines the observed state of ServiceDiscovery
properties: properties:
deploymentInfo: deploymentInfo:
properties: properties:
@@ -1122,6 +930,12 @@ spec:
storage: true storage: true
subresources: subresources:
status: {} status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
--- ---
apiVersion: apiextensions.k8s.io/v1 apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition kind: CustomResourceDefinition
+20 -9
View File
@@ -18,6 +18,16 @@ rules:
- get - get
- create - create
- update - update
- apiGroups:
- ""
resources:
# For syncing Secrets from the broker
- secrets
verbs:
- get
- create
- update
- delete
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@@ -226,15 +236,6 @@ metadata:
chart: {{ template "submariner.chart" . }} chart: {{ template "submariner.chart" . }}
app: {{ template "submariner.name" . }} app: {{ template "submariner.name" . }}
rules: rules:
- apiGroups:
- submariner.io
resources:
- gateways
verbs:
- get
- list
- watch
- update
- apiGroups: - apiGroups:
- coordination.k8s.io - coordination.k8s.io
resources: resources:
@@ -477,6 +478,7 @@ rules:
- get - get
- list - list
- watch - watch
- update
- apiGroups: - apiGroups:
- projectcalico.org - projectcalico.org
resources: resources:
@@ -517,6 +519,15 @@ metadata:
chart: {{ template "submariner.chart" . }} chart: {{ template "submariner.chart" . }}
app: {{ template "submariner.name" . }} app: {{ template "submariner.name" . }}
rules: rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- list
- watch
- update
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@@ -52,8 +52,6 @@ spec:
{{- end }} {{- end }}
serviceCIDR: "{{ .Values.submariner.serviceCidr }}" serviceCIDR: "{{ .Values.submariner.serviceCidr }}"
globalCIDR: "{{ .Values.submariner.globalCidr }}" globalCIDR: "{{ .Values.submariner.globalCidr }}"
clustersetIPCIDR: "{{ .Values.submariner.clustersetIpCidr }}"
clustersetIPEnabled: {{ .Values.submariner.clustersetIpEnabled }}
serviceDiscoveryEnabled: {{ .Values.submariner.serviceDiscovery }} serviceDiscoveryEnabled: {{ .Values.submariner.serviceDiscovery }}
cableDriver: {{ .Values.submariner.cableDriver }} cableDriver: {{ .Values.submariner.cableDriver }}
connectionHealthCheck: connectionHealthCheck:
-2
View File
@@ -5,8 +5,6 @@ submariner:
clusterCidr: "" clusterCidr: ""
serviceCidr: "" serviceCidr: ""
globalCidr: "" globalCidr: ""
clustersetIpCidr: ""
clustersetIpEnabled: false
loadBalancerEnabled: false loadBalancerEnabled: false
natEnabled: false natEnabled: false
colorCodes: blue colorCodes: blue