Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump github.com/docker/docker from 20.10.17+incompatible to 20.10.24+incompatible #11

Open
wants to merge 89 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
89 commits
Select commit Hold shift + click to select a range
5a8bacf
Merge branch 'feature-yq-devops-3365' into 'master'
Jul 27, 2022
9fa5bae
[IMP] 修改Dockerfile
Jul 27, 2022
05acdc8
Merge branch 'feature-yq-devops-3365' into 'master'
Jul 27, 2022
2754087
[FIX] 在annotations上添加choerodon.io/commit
Aug 16, 2022
0c5af9d
Merge branch 'hotfix-2.2.0' into 'master'
Aug 16, 2022
23570c2
[FIX] 修复在annotations上添加choerodon.io/commit
Aug 17, 2022
7b75be5
[IMP] 修改go.mod
Aug 16, 2022
341bd5a
[IMP] 升级k8s版本到v0.24.3
Aug 17, 2022
e503133
[IMP] 修改golang编译版本
Aug 18, 2022
83c567f
[IMP] 兼容处理
Aug 19, 2022
d7ff15d
[IMP] polaris
Aug 23, 2022
fe7bde5
Merge branch 'feature-yq-devops-3578' into 'master'
Aug 23, 2022
367f756
[IMP] 部署实例时如果命名空间不存在就创建
Aug 23, 2022
a1fc734
Merge branch 'feature-yq-devops-3578' into 'master'
Aug 23, 2022
9091b6a
[IMP] 修改变量设置
Aug 23, 2022
e1d8936
Merge branch 'feature-yq-devops-3578' into 'master'
Aug 23, 2022
82ff377
[IMP] 修改部署和升级实例失败时资源渲染逻辑
Aug 31, 2022
6e64e0e
Merge branch 'feature-yq-devops-3578' into 'master'
Aug 31, 2022
d0707c6
Merge branch 'master' into 'hotfix-2.2.0'
Sep 1, 2022
ca7eab8
Merge branch 'hotfix-2.2.0' into 'master'
Sep 1, 2022
b690e65
[FIX] 修复下载私有chart
Sep 13, 2022
6aed5a4
Merge branch 'feature-yq-devops-3578' into 'master'
Sep 13, 2022
db93019
[FIX] 修复同步PV资源
Sep 13, 2022
5a0fc7b
Merge branch 'feature-yq-devops-3578' into 'master'
Sep 13, 2022
e03988a
[FIX] 修复渲染hook资源名称不正确问题
Sep 15, 2022
0b4ade8
Merge branch 'feature-yq-devops-3578' into 'master'
Sep 15, 2022
dce70e1
[FIX] 修复获取k8s版本
Sep 19, 2022
74d0566
Merge branch 'feature-yq-devops-3578' into 'master'
Sep 19, 2022
a0b2ca4
[FIX] 修复解析k8s版本
Sep 19, 2022
71b163c
Merge branch 'feature-yq-devops-3578' into 'master'
Sep 19, 2022
50da1d7
[IMP] 权限限制模式下也返回k8s集群版本信息
Sep 19, 2022
63c3825
Merge branch 'feature-yq-devops-3578' into 'master'
Sep 19, 2022
3ef6f82
[FIX] 修复agent升级后配置丢失问题
Sep 20, 2022
f637f32
[ADD] 添加健康探针
Sep 23, 2022
dcbf50a
Merge branch 'yq-devops-4201' into 'master'
Sep 23, 2022
105c1d0
[IMP] 修改健康检查
Sep 23, 2022
bc53327
Merge branch 'yq-devops-4201' into 'master'
Sep 23, 2022
7ded30f
[IMP]优化chart
TimeBye Sep 26, 2022
b5a0c2f
[IMP] 添加日志打印
Sep 26, 2022
f2e3281
[IMP] 修改健康检查端口设置
Sep 26, 2022
ccddbab
[IMP] 升级实例时,保留上一次replicas数量
Sep 27, 2022
3861324
Merge branch 'imp-chart' into 'master'
Sep 29, 2022
533806d
Merge branch 'hotfix-2.2.4' into 'master'
Sep 29, 2022
4784145
[ADD] chart添加端口号兼容旧版本
Oct 10, 2022
0d68a16
[IMP] 修改升级时保存agent配置
Oct 10, 2022
c2d86d8
Merge branch 'feature-yq-devops-3578' into 'master'
Oct 10, 2022
ef4200d
Merge branch 'hotfix-2.0.2' into 'master'
Oct 24, 2022
35818cd
[IMP] 优化抓取集群节点信息
Oct 24, 2022
6a297f2
Merge branch 'feature-yq-devops-node' into 'master'
Oct 24, 2022
abd5a3a
[IMP] 优化cert-manager状态返回
Oct 25, 2022
d91dfb8
Merge branch 'feature-yq-devops-node' into 'master'
Oct 25, 2022
c138c87
[IMP] websocket重连等待时间设置为随机时间
Oct 26, 2022
51973e0
Merge branch 'feature-yq-devops-websocket' into 'master'
Oct 26, 2022
51f37dd
[IMP] 优化随机数生成
Oct 26, 2022
6f922fa
Merge branch 'feature-yq-devops-websocket' into 'master'
Oct 26, 2022
860571d
[IMP] 优化agent就绪设置逻辑
Oct 28, 2022
dd66f6f
Merge branch 'feature-yq-devops-websocket' into 'master'
Oct 28, 2022
a41220a
[ADD] 添加replicas生效策略
Nov 17, 2022
c748a51
Merge branch 'feature-yq-devops-4941' into 'master'
Nov 17, 2022
b218e28
[FIX] 修改polaris获取的集群版本
Nov 28, 2022
7b6be4c
Merge branch 'hotfix-2.2.12' into 'master'
Dec 12, 2022
01847cd
[IMP] 兼容权限限制模式下部署实例
Dec 23, 2022
0419322
Merge branch 'hotfix-2.2.13' into 'master'
Dec 23, 2022
ba83035
[IMP] 添加实例部署日志打印
Jan 3, 2023
bbc0ecd
[IMP] 兼容1.22以上版本的k8s集群安装cert-manager
Jan 4, 2023
3bbbc41
[IMP] 修改cert-manager的crd
Jan 4, 2023
769d6f5
Merge branch 'feature-yq-devops-5338' into 'master'
Jan 4, 2023
6a246b5
[IMP] 修改证书转换校验
Jan 17, 2023
2aca5ae
Merge branch 'feature-yq-devops-5335' into 'master'
Jan 17, 2023
2eb8719
[IMP] 修复同步secret
Jan 17, 2023
aa4ecee
Merge branch 'feature-yq-devops-5335' into 'master'
Jan 17, 2023
ac2c25b
[FIX] 修复statefulset的副本数量生效策略
Jan 30, 2023
68986a2
Merge branch 'feature-yq-devops-5335' into 'master'
Jan 30, 2023
e8eb0e2
[ADD] 添加更多日志信息
Feb 6, 2023
e185245
[FIX] 修复删除ingress和secret无效
Feb 10, 2023
336f95c
[IMP] 调整pod数量返回commandId
Feb 14, 2023
6d6a56d
[IMP] 优化初始化数据库job删除逻辑
Feb 16, 2023
e7f5e9a
[ADD] 添加删除helm hook job操作
Mar 21, 2023
73ea73b
[IMP] 删除helm hook job时返回job失败状态以及日志
Mar 22, 2023
a40565a
[IMP] 添加nil处理
Mar 23, 2023
9393c0e
[IMP] 优化init-job删除后的处理
Mar 23, 2023
db84e14
[FIX] 修复未安装cert-manager的情况下,创建证书失败的问题
Mar 23, 2023
258fd18
[IMP] 修复certificate转换secret失败
Mar 28, 2023
0b1ee1b
[IMP] 当helm实例处于Pending状态时,此次操作不失败,60s后继续往下执行
Mar 29, 2023
3f683cb
[FIX] 修改job的监听逻辑、当helm实例处于Pending状态时,此次操作不失败,60s后继续往下执行
Mar 30, 2023
fd476cc
[FIX] 修改job的监听逻辑、当helm实例处于Pending状态时,此次操作不失败,60s后继续往下执行
Mar 30, 2023
c12d9b1
Merge branch 'hotfix-2.2.14' into hotfix-2.3.4
Mar 30, 2023
0c70d8f
Merge remote-tracking branch 'origin/hotfix-2.3.4'
Mar 30, 2023
0b34b5c
Bump github.com/docker/docker
dependabot[bot] Apr 4, 2023
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
27 changes: 23 additions & 4 deletions chart/choerodon-cluster-agent/Chart.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
apiVersion: v1
appVersion: "1.0"
description: A Helm chart for Kubernetes
annotations:
category: Infrastructure
apiVersion: v2
appVersion: 2.0.0
dependencies:
- name: common
repository: https://openchart.choerodon.com.cn/choerodon/c7n
version: 1.x.x
description: Cluster agent of Choerodon.
engine: gotpl
home: https://github.com/open-hand/choerodon-cluster-agent/tree/master/chart/choerodon-cluster-agent
icon: https://ui-avatars.com/api/?name=choerodon-cluster-agent
keywords:
- choerodon
- agent
maintainers:
- email: [email protected]
name: choerodon
url: https://choerodon.io
name: choerodon-cluster-agent
version: 0.1.0
sources:
- https://github.com/open-hand/choerodon-cluster-agent
- https://gitee.com/open-hand/choerodon-cluster-agent
version: 2.0.0
134 changes: 115 additions & 19 deletions chart/choerodon-cluster-agent/README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,25 +1,121 @@
## Choerodon Agent

```yaml
config:
# The WebSocket Address of devops-service
connect:
#the token of this environment
token: ""
port: 8088
logLevel: 0
#the environment Id
envId: ""
# choerodon-cluster-agent

Cluster agent of Choerodon.

## Installing the Chart

To install the chart with the release name `choerodon-cluster-agent`:

```console
$ helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n
$ helm repo update
$ helm install choerodon-cluster-agent c7n/choerodon-cluster-agent
```

## Resource
`Role`:
In the RBAC API, a role contains rules that represent a set of permissions. Permissions are purely additive (there are no “deny” rules).
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

## Uninstalling the Chart

```bash
$ helm delete choerodon-cluster-agent
```

## Requirements

| Repository | Name | Version |
|------------|------|---------|
| https://openchart.choerodon.com.cn/choerodon/c7n | common | 1.x.x |

## Values

`RoleBinding`:
A RoleBinding may reference a Role in the same namespace. The following RoleBinding grants the “pod-reader” role to the user “jane” within the “default” namespace. This allows “jane” to read pods in the “default” namespace.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Affinity for pod assignment. Evaluated as a template. Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set |
| args | list | `[]` | Args for running the server container (set to default if not set). Use array form |
| command | list | `[]` | Command for running the server container (set to default if not set). Use array form |
| commonAnnotations | object | `{}` | Add annotations to all the deployed resources |
| commonLabels | object | `{}` | Add labels to all the deployed resources |
| config.choerodonId | string | `"default"` | |
| config.clusterId | int | `0` | |
| config.connect | string | `nil` | |
| config.envId | string | `""` | |
| config.extraArgs | object | `{}` | |
| config.logLevel | int | `0` | |
| config.token | string | `""` | |
| containerPort.healthyPort | int | `8000` | healthy port |
| customLivenessProbe | object | `{}` | Custom Liveness |
| customReadinessProbe | object | `{}` | Custom Readiness |
| customStartupProbe | object | `{}` | Custom Startup probes |
| dnsPolicy | string | `"ClusterFirstWithHostNet"` | server pod dns policy |
| enableServiceLinks | bool | `false` | EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to false. |
| extraEnv.ACME_EMAIL | string | `nil` | |
| extraEnv.ORIGIN_SHH_URL | string | `nil` | |
| extraEnv.REWRITE_SSH_URL | string | `nil` | |
| extraEnvVarsCM | string | `""` | ConfigMap with extra environment variables |
| extraEnvVarsSecret | string | `""` | Secret with extra environment variables |
| extraVolumeMounts | list | `[]` | Extra volume mounts to add to server containers |
| extraVolumes | list | `[]` | Extra volumes to add to the server statefulset |
| fullnameOverride | string | `nil` | String to fully override common.names.fullname template |
| global.imagePullSecrets | list | `[]` | Global Docker registry secret names as an array |
| global.imageRegistry | string | `nil` | Global Docker image registry |
| global.storageClass | string | `nil` | Global StorageClass for Persistent Volume(s) |
| hostAliases | list | `[]` | server pod host aliases |
| image.pullPolicy | string | `"IfNotPresent"` | Specify a imagePullPolicy. Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent' |
| image.pullSecrets | list | `[]` | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. |
| image.registry | string | `"registry.cn-shanghai.aliyuncs.com"` | service image registry |
| image.repository | string | `"c7n/choerodon-cluster-agent"` | service image repository |
| image.tag | string | `nil` | service image tag. Default Chart.AppVersion |
| initContainers | object | `{}` | Add init containers to the server pods. |
| kubeVersion | string | `nil` | Force target Kubernetes version (using Helm capabilites if not set) |
| kubeconfig | string | `nil` | |
| livenessProbe.enabled | bool | `true` | Enable livenessProbe |
| livenessProbe.failureThreshold | int | `5` | Failure threshold for livenessProbe |
| livenessProbe.initialDelaySeconds | int | `180` | Initial delay seconds for livenessProbe |
| livenessProbe.periodSeconds | int | `5` | Period seconds for livenessProbe |
| livenessProbe.successThreshold | int | `1` | Success threshold for livenessProbe |
| livenessProbe.timeoutSeconds | int | `3` | Timeout seconds for livenessProbe |
| nameOverride | string | `nil` | String to partially override common.names.fullname template (will maintain the release name) |
| nodeAffinityPreset.key | string | `""` | Node label key to match |
| nodeAffinityPreset.type | string | `""` | Node affinity type. Allowed values: soft, hard |
| nodeAffinityPreset.values | list | `[]` | Node label values to match |
| nodeSelector | object | `{}` | Node labels for pod assignment. Evaluated as a template. |
| persistence.accessModes | list | `["ReadWriteOnce"]` | Persistent Volume Access Mode |
| persistence.annotations | object | `{}` | Persistent Volume Claim annotations |
| persistence.enabled | bool | `false` | If true, use a Persistent Volume Claim, If false, use emptyDir |
| persistence.existingClaim | string | `nil` | Enable persistence using an existing PVC |
| persistence.mountPath | string | `"/data"` | Data volume mount path |
| persistence.size | string | `"8Gi"` | Persistent Volume size |
| persistence.storageClass | string | `nil` | Persistent Volume Storage Class |
| podAffinityPreset | string | `""` | Pod affinity preset. Allowed values: soft, hard |
| podAnnotations | object | `{}` | Pod annotations |
| podAntiAffinityPreset | string | `"soft"` | Pod anti-affinity preset. Allowed values: soft, hard |
| podLabels | object | `{}` | Pod labels |
| rbac.create | bool | `true` | Set to true to create serviceAccount |
| rbac.name | string | `""` | The name of the ServiceAccount to use. |
| readinessProbe.enabled | bool | `true` | Enable readinessProbe |
| readinessProbe.failureThreshold | int | `5` | Failure threshold for readinessProbe |
| readinessProbe.initialDelaySeconds | int | `5` | Initial delay seconds for readinessProbe |
| readinessProbe.periodSeconds | int | `5` | Period seconds for readinessProbe |
| readinessProbe.successThreshold | int | `1` | Success threshold for readinessProbe |
| readinessProbe.timeoutSeconds | int | `3` | Timeout seconds for readinessProbe |
| replicaCount | int | `1` | Number of deployment replicas |
| resources.limits | object | `{"memory":"1024Mi"}` | The resources limits for the init container |
| resources.requests | object | `{"memory":"768Mi"}` | The requested resources for the init container |
| schedulerName | string | `nil` | Scheduler name |
| securityContext | object | `{"enabled":true,"fsGroup":33,"runAsUser":33}` | Security Context |
| sidecars | object | `{}` | Add sidecars to the server pods. |
| startupProbe.enabled | bool | `false` | Enable startupProbe |
| startupProbe.failureThreshold | int | `60` | Failure threshold for startupProbe |
| startupProbe.initialDelaySeconds | int | `0` | Initial delay seconds for startupProbe |
| startupProbe.periodSeconds | int | `3` | Period seconds for startupProbe |
| startupProbe.successThreshold | int | `1` | Success threshold for startupProbe |
| startupProbe.timeoutSeconds | int | `2` | Timeout seconds for startupProbe |
| tolerations | list | `[]` | Tolerations for pod assignment. Evaluated as a template. |
| updateStrategy.rollingUpdate | object | `{"maxSurge":"100%","maxUnavailable":0}` | Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate. |
| updateStrategy.type | string | `"RollingUpdate"` | Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate. |

`ServiceAccount`:
The ServiceAccount is access the API server, and when you create a pod, if you do not specify a service account, it is automatically assigned the default service account in the same namespace
## Maintainers

| Name | Email | Url |
| ---- | ------ | --- |
| choerodon | [email protected] | https://choerodon.io |
26 changes: 26 additions & 0 deletions chart/choerodon-cluster-agent/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{{ template "chart.header" . }}
{{ template "chart.description" . }}

## Installing the Chart

To install the chart with the release name `{{ template "chart.name" . }}`:

```console
$ helm repo add c7n https://openchart.choerodon.com.cn/choerodon/c7n
$ helm repo update
$ helm install {{ template "chart.name" . }} c7n/{{ template "chart.name" . }}
```

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

## Uninstalling the Chart

```bash
$ helm delete {{ template "chart.name" . }}
```

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}

{{ template "chart.maintainersSection" . }}
11 changes: 11 additions & 0 deletions chart/choerodon-cluster-agent/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
** Please be patient while the chart is being deployed **

Verify deployment:

curl -s $(kubectl get po --namespace {{ .Release.Namespace }} \
-l app.kubernetes.io/name={{ .Release.Name }} \
-o jsonpath="{.items[0].status.podIP}"):{{ .Values.containerPort.serverPort }}

If the following similar information appears, it is a successful deployment:

healthy
68 changes: 40 additions & 28 deletions chart/choerodon-cluster-agent/templates/_helpers.tpl
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,49 +1,61 @@
{{- define "service.labels.standard" -}}
choerodon.io/release: {{ .Release.Name | quote }}
{{- end -}}
{{/* vim: set filetype=mustache: */}}

{{- define "service.match.labels" -}}
choerodon.io/release: {{ .Release.Name | quote }}
{{/*
Return the proper image name
*/}}
{{- define "server.image" -}}
{{ include "common.images.image" (dict "imageRoot" .Values.image "chart" .Chart "global" .Values.global) }}
{{- end -}}

{{- define "service.logging.deployment.label" -}}
choerodon.io/logs-parser: {{ .Values.logs.parser | quote }}
{{/*
Return the proper Docker Image Registry Secret Names
*/}}
{{- define "server.imagePullSecrets" -}}
{{- include "common.images.pullSecrets" (dict "images" (list .Values.image) "global" .Values.global) -}}
{{- end -}}

{{- define "service.monitoring.pod.annotations" -}}
choerodon.io/metrics-group: {{ .Values.metrics.group | quote }}
choerodon.io/metrics-path: {{ .Values.metrics.path | quote }}
{{/*
Get the credentials secret.
*/}}
{{- define "server.secretName" -}}
{{- if .Values.global.server.existingSecret }}
{{- printf "%s" .Values.global.server.existingSecret -}}
{{- else if .Values.existingSecret -}}
{{- printf "%s" .Values.existingSecret -}}
{{- else -}}
{{- printf "%s" (include "common.names.fullname" .) -}}
{{- end -}}
{{- end -}}

{{/*
Return the appropriate apiVersion for deployment.
Return true if a PVC object should be created
*/}}
{{- define "app.deployment.apiVersion" -}}
{{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "apps/v1beta2" -}}
{{- else -}}
{{- print "apps/v1" -}}
{{- define "server.createPVC" -}}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
{{- true -}}
{{- end -}}
{{- end -}}

{{/*
Return the appropriate apiVersion for statefulset.
Return the PVC name
*/}}
{{- define "app.statefulset.apiVersion" -}}
{{- if semverCompare "<1.9-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "apps/v1beta2" -}}
{{- define "server.claimName" -}}
{{- if and .Values.persistence.existingClaim }}
{{- printf "%s" (tpl .Values.persistence.existingClaim $) -}}
{{- else -}}
{{- print "apps/v1" -}}
{{- printf "%s" (include "common.names.fullname" .) -}}
{{- end -}}
{{- end -}}

{{/*
Return the appropriate apiVersion for ingress.
Returns the proper service account name depending if an explicit service account name is set
in the values file. If the name is not set it will default to either common.names.fullname if serviceAccount.create
is true or default otherwise.
*/}}
{{- define "app.ingress.apiVersion" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "extensions/v1beta1" -}}
{{- else -}}
{{- print "networking.k8s.io/v1beta1" -}}
{{- define "server.serviceAccountName" -}}
{{- if .Values.rbac.create -}}
{{ default (include "common.names.fullname" .) .Values.rbac.name }}
{{- else -}}
{{ default "default" .Values.rbac.name }}
{{- end -}}
{{- end -}}
{{- end -}}
20 changes: 20 additions & 0 deletions chart/choerodon-cluster-agent/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{- if .Values.rbac.create }}
kind: ClusterRole
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:
name: {{ template "server.serviceAccountName" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
rules:
- apiGroups:
- "*"
resources:
- "*"
verbs:
- "*"
{{- end -}}
21 changes: 21 additions & 0 deletions chart/choerodon-cluster-agent/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{{- if .Values.rbac.create }}
kind: ClusterRoleBinding
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
metadata:
name: {{ template "server.serviceAccountName" . }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
subjects:
- kind: ServiceAccount
name: {{ template "server.serviceAccountName" . }}
namespace: {{ .Release.Namespace }}
roleRef:
kind: ClusterRole
name: {{ template "server.serviceAccountName" . }}
apiGroup: rbac.authorization.k8s.io
{{- end -}}
5 changes: 0 additions & 5 deletions chart/choerodon-cluster-agent/templates/configmap.yaml

This file was deleted.

Loading