Skip to content

Commit

Permalink
chore: attempt to replicate with simplest configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Feb 18, 2024
1 parent aabb705 commit a77a2dc
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 83 deletions.
2 changes: 1 addition & 1 deletion chart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Helm chart to install virtual cluster on a physical cluster
| sulfoxide-bromine.rootSecret.ref | string | `"SULFOXIDE_IODINE"` | DOPPLER Token Reference |
| sulfoxide-bromine.storeName | string | `"doppler-iodine"` | Store name to create |
| tags | object | `{"atomi.cloud/layer":"1","atomi.cloud/platform":"sulfoxide","atomi.cloud/service":"iodine"}` | Kubernetes labels and annotations, following Service Tree |
| vcluster | object | `{"annotations":{"<<":{"atomi.cloud/layer":"1","atomi.cloud/platform":"sulfoxide","atomi.cloud/service":"iodine"},"atomi.cloud/module":"apiserver"},"coredns":{"replicas":1},"enableHA":true,"ingress":{"enabled":true,"host":"kubernetes.atomi.cloud","ingressClassName":"nginx"},"init":{"manifests":"apiVersion: v1\nkind: Namespace\nmetadata:\n labels:\n kubernetes.io/metadata.name: sulfoxide\n name: sulfoxide\n"},"labels":{"<<":{"atomi.cloud/layer":"1","atomi.cloud/platform":"sulfoxide","atomi.cloud/service":"iodine"},"atomi.cloud/module":"apiserver"},"mapServices":{"fromHost":[{"from":"sulfoxide/entei-silicon-otlp-collector","to":"sulfoxide/silicon-otlp-collector"}]},"plugin":{"secret-syncer":{"image":"ghcr.io/kirinnee/vcluster-secret-syncer/secret-syncer-amd:1.0.0","imagePullPolicy":"IfNotPresent"}},"podAnnotations":{"<<":{"atomi.cloud/layer":"1","atomi.cloud/platform":"sulfoxide","atomi.cloud/service":"iodine"},"atomi.cloud/module":"apiserver"},"podLabels":{"<<":{"atomi.cloud/layer":"1","atomi.cloud/platform":"sulfoxide","atomi.cloud/service":"iodine"},"atomi.cloud/module":"apiserver"},"proxy":{"metricsServer":{"nodes":{"enabled":false},"pods":{"enabled":false}}},"replicas":1,"serverToken":{"secretKeyRef":{"key":"K3S_TOKEN","name":"k3s-sync-token"}},"storage":{"persistence":false},"sync":{"configmaps":{"all":true},"ingresses":{"enabled":true},"nodes":{"enableScheduler":true,"enabled":true,"fakeKubeletIPs":true,"syncAllNodes":true,"syncNodeChanges":true},"pods":{"enabled":true,"ephemeralContainers":true,"status":true},"secrets":{"all":true}},"syncer":{"extraArgs":["--tls-san=https://kubernetes.atomi.cloud"]},"telemetry":{"disabled":true}}` | Virtual Cluster Configuration. See [vcluster documentation](https://artifacthub.io/packages/helm/loft/vcluster) |
| vcluster | object | `{"coredns":{"replicas":1},"enableHA":false,"replicas":1,"storage":{"persistence":false}}` | Virtual Cluster Configuration. See [vcluster documentation](https://artifacthub.io/packages/helm/loft/vcluster) |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.1](https://github.com/norwoodj/helm-docs/releases/v1.11.1)
34 changes: 17 additions & 17 deletions chart/values.pichu.onyx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,23 @@ vcluster:
storage:
persistence: true
className: ebs-gp3
replicas: 1
coredns:
replicas: 1
podLabels:
<<: *tags
podAnnotations:
<<: *tags
labels:
<<: *tags
annotations:
<<: *tags
syncer:
extraArgs:
- --kube-config-context-name=pichu-onyx
- --out-kube-config-server=https://pichu.onyx.kubernetes.atomi.cloud
ingress:
host: pichu.onyx.kubernetes.atomi.cloud
# replicas: 1
# coredns:
# replicas: 1
# podLabels:
# <<: *tags
# podAnnotations:
# <<: *tags
# labels:
# <<: *tags
# annotations:
# <<: *tags
# syncer:
# extraArgs:
# - --kube-config-context-name=pichu-onyx
# - --out-kube-config-server=https://pichu.onyx.kubernetes.atomi.cloud
# ingress:
# host: pichu.onyx.kubernetes.atomi.cloud
# vcluster:
# env:
# - name: K3S_DATASTORE_ENDPOINT
Expand Down
130 changes: 65 additions & 65 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,76 +122,76 @@ k3sSyncToken:

# -- Virtual Cluster Configuration. See [vcluster documentation](https://artifacthub.io/packages/helm/loft/vcluster)
vcluster:
enableHA: true
enableHA: false
replicas: 1
coredns:
replicas: 1
storage:
persistence: false
serverToken:
secretKeyRef:
name: k3s-sync-token
key: K3S_TOKEN
mapServices:
fromHost:
- from: sulfoxide/entei-silicon-otlp-collector
to: sulfoxide/silicon-otlp-collector
podLabels:
<<: *tags
atomi.cloud/module: apiserver
podAnnotations:
<<: *tags
atomi.cloud/module: apiserver
labels:
<<: *tags
atomi.cloud/module: apiserver
annotations:
<<: *tags
atomi.cloud/module: apiserver
sync:
configmaps:
all: true
secrets:
all: true
ingresses:
enabled: true
pods:
enabled: true
ephemeralContainers: true
status: true
nodes:
enabled: true
fakeKubeletIPs: true
enableScheduler: true
syncNodeChanges: true
syncAllNodes: true
proxy:
metricsServer:
nodes:
enabled: false
pods:
enabled: false
syncer:
extraArgs:
- --tls-san=https://kubernetes.atomi.cloud
ingress:
enabled: true
ingressClassName: nginx
host: kubernetes.atomi.cloud
telemetry:
disabled: true
plugin:
secret-syncer:
image: ghcr.io/kirinnee/vcluster-secret-syncer/secret-syncer-amd:1.0.0
imagePullPolicy: IfNotPresent
init:
manifests: |
apiVersion: v1
kind: Namespace
metadata:
labels:
kubernetes.io/metadata.name: sulfoxide
name: sulfoxide
# serverToken:
# secretKeyRef:
# name: k3s-sync-token
# key: K3S_TOKEN
# mapServices:
# fromHost:
# - from: sulfoxide/entei-silicon-otlp-collector
# to: sulfoxide/silicon-otlp-collector
# podLabels:
# <<: *tags
# atomi.cloud/module: apiserver
# podAnnotations:
# <<: *tags
# atomi.cloud/module: apiserver
# labels:
# <<: *tags
# atomi.cloud/module: apiserver
# annotations:
# <<: *tags
# atomi.cloud/module: apiserver
# sync:
# configmaps:
# all: true
# secrets:
# all: true
# ingresses:
# enabled: true
# pods:
# enabled: true
# ephemeralContainers: true
# status: true
# nodes:
# enabled: true
# fakeKubeletIPs: true
# enableScheduler: true
# syncNodeChanges: true
# syncAllNodes: true
# proxy:
# metricsServer:
# nodes:
# enabled: false
# pods:
# enabled: false
# syncer:
# extraArgs:
# - --tls-san=https://kubernetes.atomi.cloud
# ingress:
# enabled: true
# ingressClassName: nginx
# host: kubernetes.atomi.cloud
# telemetry:
# disabled: true
# plugin:
# secret-syncer:
# image: ghcr.io/kirinnee/vcluster-secret-syncer/secret-syncer-amd:1.0.0
# imagePullPolicy: IfNotPresent
# init:
# manifests: |
# apiVersion: v1
# kind: Namespace
# metadata:
# labels:
# kubernetes.io/metadata.name: sulfoxide
# name: sulfoxide

# -- ETCD Cluster configuration. See [etcd documentation](https://artifacthub.io/packages/helm/bitnami/etcd)
etcd:
Expand Down

0 comments on commit a77a2dc

Please sign in to comment.