Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.1.0-dev
1.1.0
8 changes: 4 additions & 4 deletions deployment/charts/cluster-connect-gateway-crd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ apiVersion: v2
name: cluster-connect-gateway-crd
description: A Helm chart for Cluster Connect Gateway CRDs
type: application
version: 1.1.0-dev
version: 1.1.0
annotations:
revision: 763d1a481c46d92664cb35a6c32f0146dfd04833
created: "2025-04-18T10:08:15Z"
appVersion: 1.1.0-dev-763d1a48
revision: 8a52c18c5c489ecf4821c01afc1f0bb442797bdf
created: "2025-05-01T14:53:17Z"
appVersion: 1.1.0
10 changes: 10 additions & 0 deletions deployment/charts/cluster-connect-gateway/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

dependencies:
- name: connect-agent
repository: file://./charts/connect-agent
version: 0.1.0
digest: sha256:cfa1f8f1323909ade1c2ac06c3e2ab3e634a1ca9bdda3eb8775e7d98b17d32ec
generated: "2025-04-25T11:36:03.022423105Z"
12 changes: 8 additions & 4 deletions deployment/charts/cluster-connect-gateway/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ apiVersion: v2
name: cluster-connect-gateway
description: A Helm chart for Cluster Connect Gateway
type: application
version: 1.1.0-dev
version: 1.1.0
annotations:
revision: 763d1a481c46d92664cb35a6c32f0146dfd04833
created: "2025-04-18T10:08:15Z"
appVersion: 1.1.0-dev-763d1a48
revision: 8a52c18c5c489ecf4821c01afc1f0bb442797bdf
created: "2025-05-01T14:53:17Z"
appVersion: 1.1.0
dependencies:
- name: "connect-agent"
repository: "file://./charts/connect-agent"
version: 0.1.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
---
apiVersion: v2
name: connect-agent
description: A Helm chart for CCG Connect Agent
type: application
version: 0.1.0
appVersion: 0.1.0

Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{{- /*
SPDX-FileCopyrightText: (C) 2025 Intel Corporation

SPDX-License-Identifier: Apache-2.0
*/ -}}

{{/*
Expand the name of the chart.
*/}}
{{- define "connect-agent.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Create a default fully qualified app name.
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
If release name contains chart name it will be used as a full name.
*/}}
{{- define "connect-agent.fullname" -}}
{{- if .Values.fullnameOverride }}
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- $name := default .Chart.Name .Values.nameOverride }}
{{- if contains $name .Release.Name }}
{{- .Release.Name | trunc 63 | trimSuffix "-" }}
{{- else }}
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }}
{{- end }}
{{- end }}
{{- end }}

{{/*
Create chart name and version as used by the chart label.
*/}}
{{- define "connect-agent.chart" -}}
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }}
{{- end }}

{{/*
Common labels
*/}}
{{- define "connect-agent.labels" -}}
helm.sh/chart: {{ include "connect-agent.chart" . }}
{{ include "connect-agent.selectorLabels" . }}
{{- if .Chart.AppVersion }}
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
{{- end }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
{{- end }}

{{/*
Selector labels
*/}}
{{- define "connect-agent.selectorLabels" -}}
app.kubernetes.io/name: {{ include "connect-agent.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
{{- end }}

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: v1
kind: ConfigMap
metadata:
name: connect-agent-config
labels:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
data:
AGENT_IMAGE: "{{- if hasKey .Values.agent.image.registry "name" }}{{ .Values.agent.image.registry.name }}/{{- end -}}{{ .Values.agent.image.repository }}:{{ .Values.agent.image.tag }}"
AGENT_LOG_LEVEL: "{{ .Values.agent.logLevel }}"
AGENT_TLS_MODE: "{{ .Values.agent.tlsMode }}"
{{- with .Values.agent.extraEnv }}
{{- range . }}
{{- range $key, $value := . }}
{{ $key }} : "{{ $value }}"
{{- end }}
{{- end }}
{{- end }}

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# SPDX-FileCopyrightText: (C) 2025 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

agent:
image:
registry:
name: registry-rs.edgeorchestration.intel.com
repository: edge-orch/cluster/connect-agent
tag: 1.0.6
# Available log levels are warn, info, debug.
# Set to debug to print tunnel data to the logs.
logLevel: info

# Determines whether the agent should trust CA bundles from the operating system's trust store
# when connecting to connect-gateway. True in `system-store` mode, false in `strict` mode.
tlsMode: strict

# Additional environment variables to pass.
extraEnv: []
# - GATEWAY_CA:
# - INSECURE_SKIP_VERIFY:
# - HTTP_PROXY:
# - HTTPS_PROXY:
# - NO_PROXY:
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,21 @@ spec:
value: {{ .Values.security.agent.jwtTokenPath }}
- name: "AGENT_AUTH_MODE"
value: {{ .Values.security.agent.authMode }}
{{- with .Values.agent.image }}
- name: AGENT_IMAGE
value: "{{- if hasKey .registry "name" }}{{ .registry.name }}/{{- end -}}{{ .repository }}:{{ default $.Chart.AppVersion .tag }}"
{{- end }}
valueFrom:
configMapKeyRef:
name: connect-agent-config
key: AGENT_IMAGE
- name: AGENT_LOG_LEVEL
value: {{ .Values.agent.logLevel | quote }}
valueFrom:
configMapKeyRef:
name: connect-agent-config
key: AGENT_LOG_LEVEL
- name: AGENT_TLS_MODE
value: {{ .Values.agent.tlsMode | quote }}
{{- with .Values.agent.extraEnv }}
{{- range $key, $value := . }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- end }}
valueFrom:
configMapKeyRef:
name: connect-agent-config
key: AGENT_TLS_MODE
{{- with .Values.controller.extraEnv }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down
25 changes: 0 additions & 25 deletions deployment/charts/cluster-connect-gateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,28 +196,3 @@ controller:
enabled: true
secretName: "tls-orch"
secretNamespace : "orch-gateway"


agent:
image:
registry:
name: registry-rs.edgeorchestration.intel.com
# imagePullSecrets: []
repository: edge-orch/cluster/connect-agent
tag: ""

# Available log levels are warn, info, debug.
# Set to debug to print tunnel data to the logs.
logLevel: info

# Determines whether the agent should trust CA bundles from the operating system's trust store
# when connecting to connect-gateway. True in `system-store` mode, false in `strict` mode.
tlsMode: strict

# Additional environment variables to pass.
extraEnv: []
# GATEWAY_CA:
# INSECURE_SKIP_VERIFY:
# HTTP_PROXY:
# HTTPS_PROXY:
# NO_PROXY:
Loading