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
6 changes: 3 additions & 3 deletions .github/workflows/e2e.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
config: test/e2e/swck/oap-ui-agent-satellite.yaml
name: ${{ matrix.test.name }}
env:
OAP_TAG: bf04afdb2a841c60d5e27f5a9fc62d0879a5600c
OAP_TAG: 79860ca5c76a77bbd93e76ce4861b24707dd5ee3
OAP_REPO: ghcr.io/apache/skywalking/oap
UI_TAG: bf04afdb2a841c60d5e27f5a9fc62d0879a5600c
UI_TAG: 79860ca5c76a77bbd93e76ce4861b24707dd5ee3
UI_REPO: ghcr.io/apache/skywalking/ui
SATELLITE_TAG: v35bfaff6352b4dc351a706772796a1f79b651c14
SATELLITE_REPO: ghcr.io/apache/skywalking-satellite/skywalking-satellite
BANYANDB_TAG: 7e5b2d0404e8ad6d5835eee6fe589a2544d0decb
BANYANDB_TAG: 46083529398b73504e9ca929ef367cd1776aef82
BANYANDB_REPO: ghcr.io/apache/skywalking-banyandb
steps:
- uses: actions/checkout@v2
Expand Down
40 changes: 20 additions & 20 deletions chart/skywalking/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,26 @@ version: 4.7.0
description: Helm Chart for Apache SkyWalking
icon: https://raw.githubusercontent.com/apache/skywalking-kubernetes/master/logo/sw-logo-for-chart.jpg
sources:
- https://github.com/apache/skywalking-helm
- https://github.com/apache/skywalking-helm
maintainers:
- name: hanahmily
email: [email protected]
- name: innerpeacez
email: [email protected]
- name: kezhenxu94
email: [email protected]
- name: hanahmily
email: [email protected]
- name: innerpeacez
email: [email protected]
- name: kezhenxu94
email: [email protected]

dependencies:
- name: elasticsearch
version: ~7.17.1
repository: https://helm.elastic.co/
condition: elasticsearch.enabled
- name: postgresql
version: 12.1.2
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
condition: postgresql.enabled
- name: skywalking-banyandb-helm
alias: banyandb
version: 0.5.0-rc3
repository: oci://registry-1.docker.io/apache
condition: banyandb.enabled
- name: elasticsearch
version: ~7.17.1
repository: https://helm.elastic.co/
condition: elasticsearch.enabled
- name: postgresql
version: 12.1.2
repository: https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
condition: postgresql.enabled
- name: skywalking-banyandb-helm
alias: banyandb
version: 0.5.0-rc4
repository: oci://registry-1.docker.io/apache
condition: banyandb.enabled
8 changes: 8 additions & 0 deletions chart/skywalking/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,14 @@ Create the name of the service account to use for the satellite cluster
{{- end }}
- name: SW_STORAGE_BANYANDB_TARGETS
value: "{{ $targets }}"
{{- if .Values.banyandb.auth.enabled }}
{{- if .Values.banyandb.auth.users }}
- name: SW_STORAGE_BANYANDB_USER
value: "{{ (index .Values.banyandb.auth.users 0).username }}"
- name: SW_STORAGE_BANYANDB_PASSWORD
value: "{{ (index .Values.banyandb.auth.users 0).password }}"
{{- end }}
{{- end }}
{{- end }}
{{- end -}}

Expand Down
35 changes: 21 additions & 14 deletions chart/skywalking/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ oap:
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
env:
# more env, please refer to https://hub.docker.com/r/apache/skywalking-oap-server
env: # more env, please refer to https://hub.docker.com/r/apache/skywalking-oap-server

# or https://github.com/apache/skywalking-docker/blob/master/6/6.4/oap/README.md#sw_telemetry

# Allows you to add any config files in /skywalking/config
Expand Down Expand Up @@ -126,7 +126,7 @@ oap:
# silence-period: 5
# Response time of service {name} is more than 1000ms in 3 minutes of last 10 minutes.

# A list of secrets and their paths to mount inside the pod
# A list of secrets and their paths to mount inside the pod
secretMounts: []
# - name: elastic-certificates
# secretName: elastic-certificates
Expand Down Expand Up @@ -186,6 +186,7 @@ ui:
# fsGroup: 1000
env:


oapInit:
nodeAffinity: {}
nodeSelector: {}
Expand All @@ -195,7 +196,8 @@ oapInit:

elasticsearch:
enabled: true
config: # For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is false
config:
# For users of an existing elasticsearch cluster,takes effect when `elasticsearch.enabled` is false
port:
http: 9200
host: elasticsearch # es service on kubernetes or host
Expand Down Expand Up @@ -279,7 +281,7 @@ elasticsearch:
networkHost: "0.0.0.0"

volumeClaimTemplate:
accessModes: ["ReadWriteOnce"]
accessModes: [ "ReadWriteOnce" ]
resources:
requests:
storage: 30Gi
Expand All @@ -302,9 +304,9 @@ elasticsearch:
supplementalGroups:
rule: RunAsAny
volumes:
- secret
- configMap
- persistentVolumeClaim
- secret
- configMap
- persistentVolumeClaim

persistence:
enabled: false
Expand Down Expand Up @@ -375,7 +377,7 @@ elasticsearch:
securityContext:
capabilities:
drop:
- ALL
- ALL
# readOnlyRootFilesystem: true
runAsNonRoot: true
runAsUser: 1000
Expand Down Expand Up @@ -413,7 +415,7 @@ elasticsearch:
# kubernetes.io/tls-acme: "true"
path: /
hosts:
- chart-example.local
- chart-example.local
tls: []
# - secretName: chart-example-tls
# hosts:
Expand Down Expand Up @@ -462,6 +464,11 @@ banyandb:
config:
grpcAddress: "banyandb-grpc:17912"
httpAddress: "banyandb-http:17913"
auth:
enabled: false
users:
- username: "admin"
password: "banyandb"
standalone:
enabled: true
cluster:
Expand Down Expand Up @@ -500,10 +507,10 @@ satellite:
# requests:
# cpu: 4
# memory: 4Gi
podAnnotations:
# example: oap-foo
env:
# more env, please refer to https://skywalking.apache.org/docs/skywalking-satellite/latest/en/setup/readme/#satellite_configyaml
podAnnotations: # example: oap-foo

env: # more env, please refer to https://skywalking.apache.org/docs/skywalking-satellite/latest/en/setup/readme/#satellite_configyaml

# Allows you to add any config files in /skywalking/config.
config: {}
# satellite_config.yaml: |
Expand Down
1 change: 1 addition & 0 deletions test/e2e/e2e-banyandb-cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ setup:
--set banyandb.standalone.enabled=false \
--set banyandb.cluster.enabled=true \
--set banyandb.etcd.enabled=true \
--set banyandb.etcd.auth.enabled=false \
--set satellite.enabled=true \
--set satellite.image.repository=$SATELLITE_REPO \
--set satellite.image.tag=$SATELLITE_TAG \
Expand Down
1 change: 1 addition & 0 deletions test/e2e/e2e-banyandb-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ setup:
--set banyandb.standalone.enabled=true \
--set banyandb.cluster.enabled=false \
--set banyandb.etcd.enabled=false \
--set banyandb.auth.enabled=true \
--set satellite.enabled=true \
--set satellite.image.repository=$SATELLITE_REPO \
--set satellite.image.tag=$SATELLITE_TAG \
Expand Down
Loading