Skip to content

Commit

Permalink
Merge pull request #9 from harness/secret-ref
Browse files Browse the repository at this point in the history
feta: [CHAOS-5812][CHAOS-5815]: Adding external secret support for su…
  • Loading branch information
Adarshkumar14 authored Aug 12, 2024
2 parents 147fe02 + bdc2e00 commit 7bb2b01
Show file tree
Hide file tree
Showing 29 changed files with 118 additions and 62 deletions.
4 changes: 2 additions & 2 deletions src/chaos-crds/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.5
version: 0.0.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.39.0"
appVersion: "1.41.0"
2 changes: 1 addition & 1 deletion src/chaos-crds/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chaos-crds

![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.39.0](https://img.shields.io/badge/AppVersion-1.39.0-informational?style=flat-square)
![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.41.0](https://img.shields.io/badge/AppVersion-1.41.0-informational?style=flat-square)

A Helm chart to install Harness chaos crds

Expand Down
4 changes: 2 additions & 2 deletions src/chaos-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.5
version: 0.0.6

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.39.1"
appVersion: "1.41.0"
4 changes: 2 additions & 2 deletions src/chaos-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chaos-exporter

![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.39.1](https://img.shields.io/badge/AppVersion-1.39.1-informational?style=flat-square)
![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.41.0](https://img.shields.io/badge/AppVersion-1.41.0-informational?style=flat-square)

A Helm chart for Kubernetes

Expand All @@ -20,7 +20,7 @@ A Helm chart for Kubernetes
| image.pullPolicy | string | `"Always"` | |
| image.registry | string | `"docker.io"` | |
| image.repository | string | `"harness/chaos-exporter"` | |
| image.tag | string | `"1.39.1"` | |
| image.tag | string | `"1.41.0"` | |
| nodeSelector | object | `{}` | |
| resources.limits.cpu | string | `"225m"` | |
| resources.limits.ephemeral-storage | string | `"1Gi"` | |
Expand Down
2 changes: 1 addition & 1 deletion src/chaos-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ image:
repository: harness/chaos-exporter
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.1"
tag: "1.41.0"
imagePullSecrets: []

serviceAccount:
Expand Down
14 changes: 7 additions & 7 deletions src/chaos-infrastructure/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
dependencies:
- name: subscriber
repository: file://../subscriber
version: 0.0.6
version: 0.0.8
- name: workflow-controller
repository: file://../workflow-controller
version: 0.0.4
version: 0.0.5
- name: chaos-operator
repository: file://../chaos-operator
version: 0.0.6
version: 0.0.7
- name: chaos-exporter
repository: file://../chaos-exporter
version: 0.0.5
version: 0.0.6
- name: chaos-crds
repository: file://../chaos-crds
version: 0.0.5
digest: sha256:24865db1da01c0c055d54855d23ae3e0bcf17fc0bf71dbc875c42ee0270aa54b
generated: "2024-06-24T15:23:25.600282+05:30"
version: 0.0.6
digest: sha256:0bded606eb16433f6f9d56c820549c9a247431b31097957d566117d940028260
generated: "2024-08-09T16:12:14.977934+05:30"
10 changes: 5 additions & 5 deletions src/chaos-infrastructure/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,31 @@ appVersion: "1.39.0"

dependencies:
- name: subscriber
version: 0.0.6
version: 0.0.8
repository: "file://../subscriber"
tags:
- clusterScopeMode
- namespaceMode
- name: workflow-controller
version: 0.0.4
version: 0.0.5
repository: "file://../workflow-controller"
tags:
- clusterScopeMode
- namespaceMode
- name: chaos-operator
version: 0.0.6
version: 0.0.7
repository: "file://../chaos-operator"
tags:
- clusterScopeMode
- namespaceMode
- name: chaos-exporter
version: 0.0.5
version: 0.0.6
repository: "file://../chaos-exporter"
tags:
- clusterScopeMode
- namespaceMode
- name: chaos-crds
version: 0.0.5
version: 0.0.6
repository: "file://../chaos-crds"
tags:
- clusterScopeMode
Expand Down
28 changes: 17 additions & 11 deletions src/chaos-infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ A Helm chart to install chaos infrastructure

| Repository | Name | Version |
|------------|------|---------|
| file://../chaos-crds | chaos-crds | 0.0.5 |
| file://../chaos-exporter | chaos-exporter | 0.0.5 |
| file://../chaos-operator | chaos-operator | 0.0.6 |
| file://../subscriber | subscriber | 0.0.6 |
| file://../workflow-controller | workflow-controller | 0.0.4 |
| file://../chaos-crds | chaos-crds | 0.0.6 |
| file://../chaos-exporter | chaos-exporter | 0.0.6 |
| file://../chaos-operator | chaos-operator | 0.0.7 |
| file://../subscriber | subscriber | 0.0.8 |
| file://../workflow-controller | workflow-controller | 0.0.5 |

## Values

Expand All @@ -23,7 +23,7 @@ A Helm chart to install chaos infrastructure
| chaos-exporter.image.pullPolicy | string | `"Always"` | |
| chaos-exporter.image.registry | string | `"docker.io"` | |
| chaos-exporter.image.repository | string | `"harness/chaos-exporter"` | |
| chaos-exporter.image.tag | string | `"1.39.1"` | |
| chaos-exporter.image.tag | string | `"1.41.0"` | |
| chaos-exporter.nodeSelector | object | `{}` | |
| chaos-exporter.resources.limits.cpu | string | `"225m"` | |
| chaos-exporter.resources.limits.ephemeral-storage | string | `"1Gi"` | |
Expand All @@ -40,12 +40,12 @@ A Helm chart to install chaos infrastructure
| chaos-operator.chaosRunner.image.pullPolicy | string | `"Always"` | |
| chaos-operator.chaosRunner.image.registry | string | `"docker.io"` | |
| chaos-operator.chaosRunner.image.repository | string | `"harness/chaos-runner"` | |
| chaos-operator.chaosRunner.image.tag | string | `"1.39.1"` | |
| chaos-operator.chaosRunner.image.tag | string | `"1.41.0"` | |
| chaos-operator.image.imagePullSecrets | list | `[]` | |
| chaos-operator.image.pullPolicy | string | `"Always"` | |
| chaos-operator.image.registry | string | `"docker.io"` | |
| chaos-operator.image.repository | string | `"harness/chaos-operator"` | |
| chaos-operator.image.tag | string | `"1.39.1"` | |
| chaos-operator.image.tag | string | `"1.41.0"` | |
| chaos-operator.nodeSelector | object | `{}` | |
| chaos-operator.resources.limits.cpu | string | `"225m"` | |
| chaos-operator.resources.limits.ephemeral-storage | string | `"1Gi"` | |
Expand All @@ -72,7 +72,7 @@ A Helm chart to install chaos infrastructure
| subscriber.image.pullPolicy | string | `"Always"` | |
| subscriber.image.registry | string | `"docker.io"` | |
| subscriber.image.repository | string | `"harness/chaos-subscriber"` | |
| subscriber.image.tag | string | `"1.39.0"` | |
| subscriber.image.tag | string | `"1.41.0"` | |
| subscriber.isInfraConfirmed | string | `"false"` | |
| subscriber.isSecretEnabled | string | `"true"` | |
| subscriber.nodeSelector | object | `{}` | |
Expand All @@ -82,6 +82,12 @@ A Helm chart to install chaos infrastructure
| subscriber.resources.requests.cpu | string | `"125m"` | |
| subscriber.resources.requests.ephemeral-storage | string | `"500Mi"` | |
| subscriber.resources.requests.memory | string | `"300Mi"` | |
| subscriber.secrets.env.accessKey.key | string | `"ACCESS_KEY"` | |
| subscriber.secrets.env.accessKey.secretName | string | `"subscriber-secret"` | |
| subscriber.secrets.env.customTlsCert.key | string | `"CUSTOM_TLS_CERT"` | |
| subscriber.secrets.env.customTlsCert.secretName | string | `"subscriber-secret"` | |
| subscriber.secrets.env.infraId.key | string | `"INFRA_ID"` | |
| subscriber.secrets.env.infraId.secretName | string | `"subscriber-secret"` | |
| subscriber.securityContext.allowPrivilegeEscalation | bool | `false` | |
| subscriber.securityContext.runAsGroup | int | `2000` | |
| subscriber.securityContext.runAsUser | int | `2000` | |
Expand All @@ -92,8 +98,8 @@ A Helm chart to install chaos infrastructure
| subscriber.upgrader.image.pullPolicy | string | `"Always"` | |
| subscriber.upgrader.image.registry | string | `"docker.io"` | |
| subscriber.upgrader.image.repository | string | `"harness/k8s-chaos-infrastructure-upgrader"` | |
| subscriber.upgrader.image.tag | string | `"1.39.0"` | |
| subscriber.version | string | `"1.39.0"` | |
| subscriber.upgrader.image.tag | string | `"1.41.0"` | |
| subscriber.version | string | `"1.41.0"` | |
| tags.clusterScopeMode | bool | `false` | |
| tags.crdMode | bool | `false` | |
| tags.namespaceMode | bool | `false` | |
Expand Down
Binary file removed src/chaos-infrastructure/charts/chaos-crds-0.0.5.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed src/chaos-infrastructure/charts/subscriber-0.0.6.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
23 changes: 17 additions & 6 deletions src/chaos-infrastructure/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ subscriber:
repository: harness/chaos-subscriber
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.0"
tag: "1.41.0"
imagePullSecrets: []

upgrader:
Expand All @@ -28,11 +28,22 @@ subscriber:
repository: harness/k8s-chaos-infrastructure-upgrader
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.0"
tag: "1.41.0"
imagePullSecrets: []
secrets:
env:
infraId:
secretName: subscriber-secret
key: INFRA_ID
accessKey:
secretName: subscriber-secret
key: ACCESS_KEY
customTlsCert:
secretName: subscriber-secret
key: CUSTOM_TLS_CERT

customTlsCert: ""
version: 1.39.0
version: 1.41.0

skipSslVerify: "true"

Expand Down Expand Up @@ -106,7 +117,7 @@ chaos-operator:
repository: harness/chaos-operator
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.1"
tag: "1.41.0"
imagePullSecrets: []

chaosRunner:
Expand All @@ -115,7 +126,7 @@ chaos-operator:
repository: harness/chaos-runner
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.1"
tag: "1.41.0"

serviceAccount:
name: hce
Expand Down Expand Up @@ -143,7 +154,7 @@ chaos-exporter:
repository: harness/chaos-exporter
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.1"
tag: "1.41.0"
imagePullSecrets: []

serviceAccount:
Expand Down
4 changes: 2 additions & 2 deletions src/chaos-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.6
version: 0.0.7

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.39.0"
appVersion: "1.41.0"
6 changes: 3 additions & 3 deletions src/chaos-operator/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# chaos-operator

![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.39.0](https://img.shields.io/badge/AppVersion-1.39.0-informational?style=flat-square)
![Version: 0.0.7](https://img.shields.io/badge/Version-0.0.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.41.0](https://img.shields.io/badge/AppVersion-1.41.0-informational?style=flat-square)

A Helm chart to install chaos-operator

Expand All @@ -12,7 +12,7 @@ A Helm chart to install chaos-operator
| chaosRunner.image.pullPolicy | string | `"Always"` | |
| chaosRunner.image.registry | string | `"docker.io"` | |
| chaosRunner.image.repository | string | `"harness/chaos-runner"` | |
| chaosRunner.image.tag | string | `"1.39.1"` | |
| chaosRunner.image.tag | string | `"1.41.0"` | |
| global.accessKey | string | `""` | |
| global.accountId | string | `""` | |
| global.autoUpgrade.enabled | bool | `false` | |
Expand All @@ -24,7 +24,7 @@ A Helm chart to install chaos-operator
| image.pullPolicy | string | `"Always"` | |
| image.registry | string | `"docker.io"` | |
| image.repository | string | `"harness/chaos-operator"` | |
| image.tag | string | `"1.39.1"` | |
| image.tag | string | `"1.41.0"` | |
| nodeSelector | object | `{}` | |
| resources.limits.cpu | string | `"225m"` | |
| resources.limits.ephemeral-storage | string | `"1Gi"` | |
Expand Down
4 changes: 2 additions & 2 deletions src/chaos-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ image:
repository: harness/chaos-operator
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.1"
tag: "1.41.0"
imagePullSecrets: []

chaosRunner:
Expand All @@ -24,7 +24,7 @@ chaosRunner:
repository: harness/chaos-runner
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
tag: "1.39.1"
tag: "1.41.0"

serviceAccount:
name: hce
Expand Down
4 changes: 2 additions & 2 deletions src/subscriber/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.6
version: 0.0.8

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.39.0"
appVersion: "1.41.0"
16 changes: 11 additions & 5 deletions src/subscriber/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# subscriber

![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.39.0](https://img.shields.io/badge/AppVersion-1.39.0-informational?style=flat-square)
![Version: 0.0.8](https://img.shields.io/badge/Version-0.0.8-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.41.0](https://img.shields.io/badge/AppVersion-1.41.0-informational?style=flat-square)

A Helm chart to install subscriber

Expand All @@ -15,14 +15,14 @@ A Helm chart to install subscriber
| global.accountId | string | `""` | |
| global.autoUpgrade.enabled | bool | `false` | |
| global.clusterScope.enabled | bool | `true` | |
| global.infraId | string | `""` | |
| global.infraId | string | `"1234"` | |
| global.serverAddress | string | `"https://app.harness.io/gratis/chaos/kserver/api"` | |
| global.workflowInstanceId | string | `""` | |
| image.imagePullSecrets | list | `[]` | |
| image.pullPolicy | string | `"Always"` | |
| image.registry | string | `"docker.io"` | |
| image.repository | string | `"harness/chaos-subscriber"` | |
| image.tag | string | `"1.39.0"` | |
| image.tag | string | `"1.41.0"` | |
| isInfraConfirmed | string | `"false"` | |
| isSecretEnabled | string | `"true"` | |
| nodeSelector | object | `{}` | |
Expand All @@ -32,6 +32,12 @@ A Helm chart to install subscriber
| resources.requests.cpu | string | `"125m"` | |
| resources.requests.ephemeral-storage | string | `"500Mi"` | |
| resources.requests.memory | string | `"300Mi"` | |
| secrets.env.accessKey.key | string | `"ACCESS_KEY"` | |
| secrets.env.accessKey.secretName | string | `"subscriber-secret"` | |
| secrets.env.customTlsCert.key | string | `"CUSTOM_TLS_CERT"` | |
| secrets.env.customTlsCert.secretName | string | `"subscriber-secret"` | |
| secrets.env.infraId.key | string | `"INFRA_ID"` | |
| secrets.env.infraId.secretName | string | `"subscriber-secret"` | |
| securityContext.allowPrivilegeEscalation | bool | `false` | |
| securityContext.runAsGroup | int | `2000` | |
| securityContext.runAsUser | int | `2000` | |
Expand All @@ -42,8 +48,8 @@ A Helm chart to install subscriber
| upgrader.image.pullPolicy | string | `"Always"` | |
| upgrader.image.registry | string | `"docker.io"` | |
| upgrader.image.repository | string | `"harness/k8s-chaos-infrastructure-upgrader"` | |
| upgrader.image.tag | string | `"1.39.0"` | |
| version | string | `"1.39.0"` | |
| upgrader.image.tag | string | `"1.41.0"` | |
| version | string | `"1.41.0"` | |

----------------------------------------------
Autogenerated from chart metadata using [helm-docs v1.11.0](https://github.com/norwoodj/helm-docs/releases/v1.11.0)
Loading

0 comments on commit 7bb2b01

Please sign in to comment.