-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Basic Skupper Helm chart #1627
Open
nluaces
wants to merge
1
commit into
skupperproject:v2
Choose a base branch
from
nluaces:helm-chart
base: v2
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Basic Skupper Helm chart #1627
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v2 | ||
name: skupper-namespace-setup | ||
description: Helm chart for setting up Skupper in a namespace. | ||
version: 0.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### Description | ||
|
||
This Helm chart is designed to simplify the deployment of Skupper in a Kubernetes namespace. | ||
It ensures that the Skupper Custom Resource Definitions (CRDs) and the Skupper controller | ||
are correctly installed and configured. | ||
|
||
### Usage: | ||
To deploy Skupper using this Helm chart, simply run the following command, specifying your | ||
namespace: | ||
|
||
``` | ||
helm install skupper-namespace-setup . --namespace <your-namespace> | ||
``` | ||
|
||
If the namespace is not specified it will be deployed in the current namespace. | ||
|
||
### How to uninstall the helm chart | ||
``` | ||
helm uninstall skupper-namespace-setup | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: accessgrants.skupper.io | ||
spec: | ||
group: skupper.io | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
type: object | ||
properties: | ||
redemptionsAllowed: | ||
type: integer | ||
expirationWindow: | ||
type: string | ||
format: duration | ||
code: | ||
type: string | ||
issuer: | ||
type: string | ||
status: | ||
type: object | ||
properties: | ||
url: | ||
type: string | ||
code: | ||
type: string | ||
ca: | ||
type: string | ||
redeemed: | ||
type: integer | ||
expiration: | ||
type: string | ||
format: date-time | ||
status: | ||
type: string | ||
conditions: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
maxLength: 32768 | ||
type: string | ||
observedGeneration: | ||
format: int64 | ||
minimum: 0 | ||
type: integer | ||
reason: | ||
maxLength: 1024 | ||
minLength: 1 | ||
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ | ||
type: string | ||
status: | ||
enum: | ||
- "True" | ||
- "False" | ||
- Unknown | ||
type: string | ||
type: | ||
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 | ||
required: | ||
- lastTransitionTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
subresources: | ||
status: {} | ||
additionalPrinterColumns: | ||
- name: Redemptions Allowed | ||
type: integer | ||
description: The number of claims the grant is valid for | ||
jsonPath: .spec.claims | ||
- name: Redemptions Made | ||
type: integer | ||
description: The number of times an access token originating from this grant has been redeemed | ||
jsonPath: .status.redeemed | ||
- name: Expiration | ||
type: string | ||
description: When the grant will expire | ||
jsonPath: .status.expiration | ||
- name: Status | ||
type: string | ||
description: The status of the grant | ||
jsonPath: .status.status | ||
scope: Namespaced | ||
names: | ||
plural: accessgrants | ||
singular: accessgrant | ||
kind: AccessGrant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: accesstokens.skupper.io | ||
spec: | ||
group: skupper.io | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
type: object | ||
properties: | ||
url: | ||
type: string | ||
code: | ||
type: string | ||
ca: | ||
type: string | ||
required: | ||
- url | ||
- code | ||
- ca | ||
status: | ||
type: object | ||
properties: | ||
redeemed: | ||
type: boolean | ||
status: | ||
type: string | ||
conditions: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
maxLength: 32768 | ||
type: string | ||
observedGeneration: | ||
format: int64 | ||
minimum: 0 | ||
type: integer | ||
reason: | ||
maxLength: 1024 | ||
minLength: 1 | ||
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ | ||
type: string | ||
status: | ||
enum: | ||
- "True" | ||
- "False" | ||
- Unknown | ||
type: string | ||
type: | ||
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 | ||
required: | ||
- lastTransitionTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
subresources: | ||
status: {} | ||
additionalPrinterColumns: | ||
- name: URL | ||
type: string | ||
description: The URL the access token is redeemed at | ||
jsonPath: .spec.url | ||
- name: Redeemed | ||
type: boolean | ||
description: Whether the access token has already been redeemed | ||
jsonPath: .status.redeemed | ||
- name: Status | ||
type: string | ||
description: The status of the access token | ||
jsonPath: .status.status | ||
scope: Namespaced | ||
names: | ||
plural: accesstokens | ||
singular: accesstoken | ||
kind: AccessToken |
91 changes: 91 additions & 0 deletions
91
deployments/helm/crds/skupper_attached_connector_anchor_crd.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: attachedconnectoranchors.skupper.io | ||
spec: | ||
group: skupper.io | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
properties: | ||
spec: | ||
type: object | ||
properties: | ||
connectorNamespace: | ||
type: string | ||
routingKey: | ||
type: string | ||
required: | ||
- connectorNamespace | ||
- routingKey | ||
status: | ||
type: object | ||
properties: | ||
status: | ||
type: string | ||
conditions: | ||
type: array | ||
items: | ||
type: object | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
maxLength: 32768 | ||
type: string | ||
observedGeneration: | ||
format: int64 | ||
minimum: 0 | ||
type: integer | ||
reason: | ||
maxLength: 1024 | ||
minLength: 1 | ||
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ | ||
type: string | ||
status: | ||
enum: | ||
- "True" | ||
- "False" | ||
- Unknown | ||
type: string | ||
type: | ||
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 | ||
required: | ||
- lastTransitionTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
matchingListenerCount: | ||
type: integer | ||
subresources: | ||
status: {} | ||
additionalPrinterColumns: | ||
- name: Routing Key | ||
type: string | ||
description: An identifier that associates connectors with listeners. | ||
jsonPath: .spec.routingKey | ||
- name: Connector Namespace | ||
type: string | ||
description: The namespace where the associated AttachableConnector is located. | ||
jsonPath: .spec.connectorNamespace | ||
- name: Status | ||
type: string | ||
description: The status of the connector | ||
jsonPath: .status.status | ||
- name: Matching Listener Count | ||
type: integer | ||
description: The number of listeners in the network with a matching routing key. | ||
jsonPath: .status.matchingListenerCount | ||
scope: Namespaced | ||
names: | ||
plural: attachedconnectoranchors | ||
singular: attachedconnectoranchor | ||
kind: AttachedConnectorAnchor |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally the CRDs would be defined in one place or copied by the build. Otherwise it is easy to make changes to one copy and not the other.