Skip to content

Commit dacec88

Browse files
committed
Update to 1.2.0
1 parent 8839e87 commit dacec88

File tree

5 files changed

+52
-3
lines changed

5 files changed

+52
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
repo ?= ghcr.io/jd-opensource
2-
version:=1.0.0-$(shell git rev-parse --short HEAD)-$(shell date +%Y%m%d%H%M%S)
2+
version:=1.2.0-$(shell git rev-parse --short HEAD)
33

44
ifeq (,$(shell go env GOBIN))
55
GOBIN=$(shell go env GOPATH)/bin

deploy/joylive-injector/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.1.0
18+
version: 1.2.0
1919

2020
keywords:
2121
- joylive
@@ -26,4 +26,4 @@ home: https://github.com/jd-opensource/joylive-injector
2626
# incremented each time you make changes to the application. Versions are not expected to
2727
# follow Semantic Versioning. They should reflect the version the application is using.
2828
# It is recommended to use it with quotes.
29-
appVersion: "1.1.0"
29+
appVersion: "1.2.0"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# joylive-injector
2+
3+
[![GitHub repo](https://img.shields.io/badge/GitHub-repo-blue)](https://github.com/jd-opensource/joylive-injector)
4+
[![GitHub release](https://img.shields.io/github/release/jd-opensource/joylive-injector.svg)](https://github.com/jd-opensource/joylive-injector/releases)
5+
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://joylivehq.slack.com)
6+
7+
[English](./README.md) | 简体中文
8+
9+
## 介绍
10+
这是一个针对kubernetes的动态准入控制webhook,它可以用于修改`kubernete`资源。
11+
此程序监视`deployments`的CREATE、UPDATE、DELETE事件和`pods`的CREATE事件,并为`POD`添加initContainer、默认增加环境变量`JAVA_TOOL_OPTIONS`、挂载configmap、修改主容器的卷装载等操作。
12+
13+
## 特性
14+
- 支持自动将`joylive-agent`注入Java应用的Pod。
15+
- 支持多版本`joylive-agent`与对应配置管理。
16+
- 支持注入指定版本`joylive-agent`及对应配置。
17+
18+
## 使用方式
19+
20+
因证书签名已按照命名空间为`joylive`预生成,所以须指定安装到对应命名空间。 执行命令:
21+
```bash
22+
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts
23+
kubectl create namespace joylive
24+
helm install joylive-injector joylive/joylive-injector -n joylive
25+
```

deploy/joylive-injector/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# joylive-injector
2+
3+
[![GitHub repo](https://img.shields.io/badge/GitHub-repo-blue)](https://github.com/jd-opensource/joylive-injector)
4+
[![GitHub release](https://img.shields.io/github/release/jd-opensource/joylive-injector.svg)](https://github.com/jd-opensource/joylive-injector/releases)
5+
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://joylivehq.slack.com)
6+
7+
English | [简体中文](./README-zh.md)
8+
9+
## Description
10+
This is a dynamic admission control webhook for kubernetes, it can be used to mutate kubernetes resources.
11+
This program monitors the `CREATE`, `UPDATE`, `DELETE` events for `deployments` and the `CREATE` events for `pods` and adds the initContainer for `Pod` , adds the environment variable `JAVA_TOOL_OPTIONS` by default, mounts the configmap, modifies the volume load for the main container, and so on.
12+
13+
## Features
14+
- Supports automatically injecting `joylive-agent` into Pods of Java applications.
15+
- Supports multi-version `joylive-agent` and corresponding configuration management.
16+
- Support injection of specified version `joylive-agent` and corresponding configuration.
17+
18+
## Used
19+
Since the certificate signature has been pre-generated according to the namespace `joylive`, it is necessary to specify installation to the corresponding namespace. Execute the command:
20+
```bash
21+
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts
22+
kubectl create namespace joylive
23+
helm install joylive-injector joylive/joylive-injector -n joylive
24+
```
14.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)