diff --git a/charts/system/spegel/Chart.yaml b/charts/system/spegel/Chart.yaml index 961bae3c40e..aad84e3ee67 100644 --- a/charts/system/spegel/Chart.yaml +++ b/charts/system/spegel/Chart.yaml @@ -6,7 +6,7 @@ annotations: truecharts.org/min_helm_version: "3.11" truecharts.org/train: system apiVersion: v2 -appVersion: 0.0.29 +appVersion: 0.0.30 dependencies: - name: common version: 25.3.1 @@ -31,4 +31,4 @@ sources: - https://ghcr.io/spegel-org/spegel - https://github.com/truecharts/charts/tree/master/charts/system/spegel type: application -version: 2.2.1 +version: 2.2.2 diff --git a/charts/system/spegel/templates/_args.tpl b/charts/system/spegel/templates/_args.tpl index 619939ab108..c2100797360 100644 --- a/charts/system/spegel/templates/_args.tpl +++ b/charts/system/spegel/templates/_args.tpl @@ -39,12 +39,8 @@ - --containerd-sock={{ .Values.spegel.containerdSock }} - --containerd-namespace={{ .Values.spegel.containerdNamespace }} - --containerd-registry-config-path={{ .Values.spegel.containerdRegistryConfigPath }} - - --bootstrap-kind=kubernetes - {{- with .Values.spegel.kubeconfigPath }} - - --kubeconfig-path={{ . }} - {{- end }} - - '--leader-election-namespace={{ include "tc.v1.common.lib.metadata.namespace" (dict "rootCtx" $ "objectData" $.Values.workload.main.podSpec.containers.main "caller" "Deployment") }}' - - --leader-election-name={{ .Release.Name }}-leader-election + - --bootstrap-kind=dns + - --dns-bootstrap-domain={{ include "tc.v1.common.lib.chart.names.fullname" $ }}-router.{{ include "tc.v1.common.lib.metadata.namespace" (dict "caller" "spegel" "rootCtx" $ "objectData" .Values) }}.svc.cluster.local. - --resolve-latest-tag={{ .Values.spegel.resolveLatestTag }} - --local-addr=$(NODE_IP):{{ .Values.service.main.ports.main.hostPort }} {{- with .Values.spegel.containerdContentPath }} diff --git a/charts/system/spegel/values.yaml b/charts/system/spegel/values.yaml index 9d6dd56ed52..993a17cb9d0 100644 --- a/charts/system/spegel/values.yaml +++ b/charts/system/spegel/values.yaml @@ -1,7 +1,7 @@ image: repository: ghcr.io/spegel-org/spegel pullPolicy: IfNotPresent - tag: v0.0.29 + tag: v0.0.30 securityContext: container: @@ -21,6 +21,8 @@ service: nodePort: 30021 router: enabled: true + clusterIP: None + publishNotReadyAddresses: true ports: router: enabled: true @@ -154,8 +156,6 @@ spegel: containerdContentPath: "/var/lib/containerd/io.containerd.content.v1.content" # -- If true Spegel will add mirror configuration to the node. containerdMirrorAdd: true - # -- Path to Kubeconfig credentials, should only be set if Spegel is run in an environment without RBAC. - kubeconfigPath: "" # -- When true Spegel will resolve tags to digests. resolveTags: true # -- When true latest tags will be resolved to digests. @@ -163,16 +163,6 @@ spegel: # -- When true existing mirror configuration will be appended to instead of replaced. appendMirrors: true -# -- Whether Role Based Access Control objects like roles and rolebindings should be created -rbac: - main: - enabled: true - primary: true - clusterWide: true - rules: - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "list", "watch", "create", "update"] # -- The service account the pods will use to interact with the Kubernetes API serviceAccount: main: