Skip to content

Commit d3855a1

Browse files
feat(cf-vcluster): New chart - wrapper around loft vCluster (#119)
1 parent fda1233 commit d3855a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+12729
-0
lines changed

charts/cf-vcluster/.helmignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
# Common VCS dirs
6+
.git/
7+
.gitignore
8+
.bzr/
9+
.bzrignore
10+
.hg/
11+
.hgignore
12+
.svn/
13+
# Common backup files
14+
*.swp
15+
*.bak
16+
*.tmp
17+
*.orig
18+
*~
19+
# Various IDEs
20+
.project
21+
.idea/
22+
*.tmproj
23+
.vscode/
24+
25+
# Adding schema.json file to exclude to reduce issues with Helm provider in Crossplane, strongly suggest to enable it while developing
26+
charts/vcluster/values.schema.json

charts/cf-vcluster/Chart.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
apiVersion: v2
2+
name: cf-vcluster
3+
description: Umbrella chart over vCluster adjusted for Codefresh use cases - mainly in Crossplane compositions
4+
type: application
5+
version: 0.28.0-0
6+
appVersion: "0.28.0"
7+
dependencies:
8+
- name: vcluster
9+
version: 0.28.0
10+
maintainers:
11+
- name: codefresh
12+
url: https://codefresh-io.github.io/

charts/cf-vcluster/README.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
# cf-vcluster
2+
3+
![Version: 0.28.0-0](https://img.shields.io/badge/Version-0.28.0--0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.28.0](https://img.shields.io/badge/AppVersion-0.28.0-informational?style=flat-square)
4+
5+
Umbrella chart over vCluster adjusted for Codefresh use cases - mainly in Crossplane compositions
6+
7+
## Maintainers
8+
9+
| Name | Email | Url |
10+
| ---- | ------ | --- |
11+
| codefresh | | <https://codefresh-io.github.io/> |
12+
13+
## Requirements
14+
15+
| Repository | Name | Version |
16+
|------------|------|---------|
17+
| | vcluster | 0.28.0 |
18+
19+
## Values
20+
21+
| Key | Type | Default | Description |
22+
|-----|------|---------|-------------|
23+
| global.ingress.internal.annotations."nginx.ingress.kubernetes.io/backend-protocol" | string | `"HTTPS"` | |
24+
| global.ingress.internal.annotations."nginx.ingress.kubernetes.io/ssl-passthrough" | string | `"true"` | |
25+
| global.ingress.internal.annotations."nginx.ingress.kubernetes.io/ssl-redirect" | string | `"true"` | |
26+
| global.ingress.internal.backendServiceOverride | object | `{}` | Possibility to override backend service name for ingress. If not set default vcluster backend service will be used |
27+
| global.ingress.internal.enabled | bool | `false` | |
28+
| global.ingress.internal.host.domain | string | `"corp.local"` | |
29+
| global.ingress.internal.host.name | string | `"{{ .Release.Name }}"` | |
30+
| global.ingress.internal.ingressClassName | string | `"nginx-internal"` | |
31+
| global.ingress.public.annotations."nginx.ingress.kubernetes.io/backend-protocol" | string | `"HTTPS"` | |
32+
| global.ingress.public.annotations."nginx.ingress.kubernetes.io/ssl-passthrough" | string | `"true"` | |
33+
| global.ingress.public.annotations."nginx.ingress.kubernetes.io/ssl-redirect" | string | `"true"` | |
34+
| global.ingress.public.backendServiceOverride | object | `{}` | Possibility to override backend service name for ingress. If not set default vcluster backend service will be used |
35+
| global.ingress.public.enabled | bool | `false` | |
36+
| global.ingress.public.host.domain | string | `"example.com"` | |
37+
| global.ingress.public.host.name | string | `"{{ .Release.Name }}"` | |
38+
| global.ingress.public.ingressClassName | string | `"nginx-public"` | |
39+
| vcluster.controlPlane.distro.k8s.apiServer.extraArgs[0] | string | `"--oidc-issuer-url=https://dexidp.shared-services.cf-infra.com"` | |
40+
| vcluster.controlPlane.distro.k8s.apiServer.extraArgs[1] | string | `"--oidc-client-id=vcluster-login"` | |
41+
| vcluster.controlPlane.distro.k8s.apiServer.extraArgs[2] | string | `"--oidc-username-claim=email"` | |
42+
| vcluster.controlPlane.distro.k8s.apiServer.extraArgs[3] | string | `"--oidc-groups-claim=groups"` | |
43+
| vcluster.controlPlane.distro.k8s.enabled | bool | `true` | |
44+
| vcluster.controlPlane.proxy.extraSANs[0] | string | `"{{ tpl (printf \"%s.%s.%s\" .Release.Name .Release.Namespace \".cluster.svc.local\") . }}"` | |
45+
| vcluster.controlPlane.proxy.extraSANs[1] | string | `"{{ tpl (printf \"%s.%s\" .Values.global.ingress.internal.host.name .Values.global.ingress.internal.host.domain) . }}"` | |
46+
| vcluster.controlPlane.proxy.extraSANs[2] | string | `"{{ tpl (printf \"%s.%s\" .Values.global.ingress.public.host.name .Values.global.ingress.public.host.domain) . }}"` | |
47+
| vcluster.experimental.deploy.vcluster.manifests | string | `"---\nkind: ClusterRoleBinding\napiVersion: rbac.authorization.k8s.io/v1\nmetadata:\n name: oidc-cluster-admin\nroleRef:\n apiGroup: rbac.authorization.k8s.io\n kind: ClusterRole\n name: cluster-admin\nsubjects:\n- kind: Group\n name: [email protected]\n---\nkind: ClusterRoleBinding\napiVersion: rbac.authorization.k8s.io/v1\nmetadata:\n name: oidc-cluster-admin-octopus\nroleRef:\n apiGroup: rbac.authorization.k8s.io\n kind: ClusterRole\n name: cluster-admin\nsubjects:\n- kind: Group\n name: 787d1a9a-e488-4a77-bb6c-f4b2fdfd8cea # Codefresh R&D Team\n- kind: Group\n name: 607a9f67-422c-4ca2-b8c4-d0be213b9650 # Codefresh SA Team\n- kind: Group\n name: f8de82e2-cdb6-480a-8f37-9f958ea5fef5 # Codefresh Support Team\n- kind: Group\n name: 16b3fb37-58f2-4786-8ca8-6f58d0410687 # Codefresh OSS Team\n- kind: Group\n name: dc35779f-57d5-4dff-90c0-34c6e93fe7e7 # Codefresh OSS Team\n---\napiVersion: v1\nkind: ServiceAccount\nmetadata:\n name: codefresh-pipelines-integration-cluster-admin\n namespace: kube-system\n---\napiVersion: v1\nkind: Secret\nmetadata:\n name: codefresh-pipelines-integration-cluster-admin-token\n namespace: kube-system\n annotations:\n kubernetes.io/service-account.name: codefresh-pipelines-integration-cluster-admin\ntype: kubernetes.io/service-account-token\n---\nkind: ClusterRoleBinding\napiVersion: rbac.authorization.k8s.io/v1\nmetadata:\n name: codefresh-pipelines-integration-cluster-admin\nroleRef:\n apiGroup: rbac.authorization.k8s.io\n kind: ClusterRole\n name: cluster-admin\nsubjects:\n- kind: ServiceAccount\n name: codefresh-pipelines-integration-cluster-admin\n namespace: kube-system"` | |
48+
| vcluster.rbac.clusterRole.enabled | bool | `true` | |
49+
| vcluster.sync.fromHost.ingressClasses.enabled | bool | `true` | |
50+
| vcluster.sync.fromHost.nodes.enabled | bool | `true` | |
51+
| vcluster.sync.toHost.ingresses.enabled | bool | `true` | |
52+
| vcluster.sync.toHost.persistentVolumeClaims.enabled | bool | `true` | |
53+
| vcluster.sync.toHost.persistentVolumes.enabled | bool | `true` | |
54+
| vcluster.sync.toHost.serviceAccounts.enabled | bool | `true` | |
55+
| vcluster.sync.toHost.storageClasses.enabled | bool | `true` | |
56+
57+
----------------------------------------------
58+
Autogenerated from chart metadata using [helm-docs v1.9.1](https://github.com/norwoodj/helm-docs/releases/v1.9.1)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Patterns to ignore when building packages.
2+
# This supports shell glob matching, relative path matching, and
3+
# negation (prefixed with !). Only one pattern per line.
4+
.DS_Store
5+
6+
# Common VCS dirs
7+
.git/
8+
.gitignore
9+
.bzr/
10+
.bzrignore
11+
.hg/
12+
.hgignore
13+
.svn/
14+
15+
# Common backup files
16+
*.swp
17+
*.bak
18+
*.tmp
19+
*~
20+
21+
# Various IDEs
22+
.project
23+
.idea/
24+
*.tmproj
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: v2
2+
appVersion: 0.28.0
3+
description: vcluster - Virtual Kubernetes Clusters
4+
home: https://vcluster.com
5+
icon: https://static.loft.sh/branding/logos/vcluster/vertical/vcluster_vertical.svg
6+
keywords:
7+
- developer
8+
- development
9+
- sharing
10+
- share
11+
- multi-tenancy
12+
- tenancy
13+
- cluster
14+
- space
15+
- namespace
16+
- vcluster
17+
- vclusters
18+
maintainers:
19+
20+
name: Loft Labs, Inc.
21+
url: https://twitter.com/loft_sh
22+
name: vcluster
23+
sources:
24+
- https://github.com/loft-sh/vcluster
25+
type: application
26+
version: 0.28.0

0 commit comments

Comments
 (0)