Skip to content

Commit

Permalink
relase chart (#7)
Browse files Browse the repository at this point in the history
* relase chart

Signed-off-by: Mirko <[email protected]>
* fix: [CDS-104976]: remove applicationset enabled

Signed-off-by: Mirko <[email protected]>
  • Loading branch information
mteodor authored and Harness committed Dec 26, 2024
1 parent 50ee3bd commit 4d52302
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: gitops-helm
description: A Helm chart for Harness GitOps Agent - for more information, please visit https://developer.harness.io/docs/category/gitops.
version: 1.1.14
version: 1.1.15
dependencies:
- name: argo-cd
version: 7.4.2
Expand Down
2 changes: 1 addition & 1 deletion charts/templates/argocd-applicationset/networkpolicy.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- $argo := (index .Values "argo-cd") -}}
{{- if and $argo.applicationSet.enabled .Values.harness.networkPolicy.create (or $argo.applicationSet.metrics.enabled $argo.applicationSet.webhook.ingress.enabled) }}
{{- if and .Values.harness.networkPolicy.create (or $argo.applicationSet.metrics.enabled $argo.applicationSet.webhook.ingress.enabled) }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
Expand Down
2 changes: 0 additions & 2 deletions charts/templates/argocd-repo-server/networkpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ spec:
- podSelector:
matchLabels:
{{- include "harness.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 10 }}
{{- if $argo.applicationSet.enabled }}
- podSelector:
matchLabels:
{{- include "harness.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 10 }}
{{- end }}
ports:
- port: repo-server
protocol: TCP
Expand Down
2 changes: 0 additions & 2 deletions charts/templates/gitops-agent/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ rules:
- argoproj.io
resources:
- applications
{{- if $argo.applicationSet.enabled }}
- applicationsets
{{- end }}
- appprojects
verbs:
- create
Expand Down
2 changes: 1 addition & 1 deletion charts/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ argo-cd:
# -- Init containers to add to the repo server pods
initContainers:
- name: sops-helm-secrets-tool
image: harness/gitops-agent-installer-helper:v0.0.1
image: harness/gitops-agent-installer-helper:v0.0.3
imagePullPolicy: IfNotPresent
command: [ sh, -ec ]
args:
Expand Down

0 comments on commit 4d52302

Please sign in to comment.