Skip to content

Commit

Permalink
fix: argocd out of sync
Browse files Browse the repository at this point in the history
  • Loading branch information
CasLubbers committed Jun 21, 2024
1 parent e9635fa commit eb18d7c
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 8 deletions.
4 changes: 3 additions & 1 deletion charts/gitea/templates/gitea/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,9 @@ spec:
emptyDir: {}
{{- else if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
{{- with .Values.persistence.annotations }}
annotations:
Expand Down
4 changes: 3 additions & 1 deletion charts/harbor/templates/redis/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ spec:
{{- end }}
{{- if and .Values.persistence.enabled (not $redis.existingClaim) }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
labels:
{{ include "harbor.labels" . | indent 8 }}
Expand Down
4 changes: 3 additions & 1 deletion charts/harbor/templates/trivy/trivy-sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ spec:
{{- end }}
{{- if and .Values.persistence.enabled (not $trivy.existingClaim) }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
labels:
{{ include "harbor.labels" . | indent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ spec:
claimName: {{ printf "redis-data-%s-master" (include "common.names.fullname" .) }}
{{- else }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redis-data
labels: {{- include "common.labels.matchLabels" . | nindent 10 }}
app.kubernetes.io/component: master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ spec:
claimName: {{ printf "%s" (tpl .Values.replica.persistence.existingClaim .) }}
{{- else }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redis-data
labels: {{- include "common.labels.matchLabels" . | nindent 10 }}
app.kubernetes.io/component: replica
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,9 @@ spec:
claimName: {{ printf "%s" (tpl .Values.replica.persistence.existingClaim .) }}
{{- else }}
volumeClaimTemplates:
- metadata:
- apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: redis-data
labels: {{- include "common.labels.matchLabels" . | nindent 10 }}
app.kubernetes.io/component: node
Expand Down
3 changes: 2 additions & 1 deletion charts/tempo/templates/lib/service-monitor.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ spec:
scrapeTimeout: {{ . }}
{{- end }}
relabelings:
- sourceLabels: [job]
- action: replace
sourceLabels: [job]
replacement: "{{ $.ctx.Release.Namespace }}/{{ $.component }}"
targetLabel: job
{{- if kindIs "string" .clusterLabel }}
Expand Down
8 changes: 8 additions & 0 deletions values/argocd/argocd.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,14 @@ configs:
users.anonymous.enabled: "false"
# Note that the clientSecret is not actually used
# as for now oauth2-proxy handles the login
resource.exclusions: |
- apiGroups:
- "*"
kinds:
- "PipelineRun"
- "TaskRun"
clusters:
- "*"
oidc.config: |
name: Otomi
issuer: {{ $v._derived.oidcBaseUrl }}
Expand Down
2 changes: 1 addition & 1 deletion values/jaeger-operator/jaeger-operator.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jaeger:
securityContext:
runAsNonRoot: true
runAsUser: 1000
strategy: allInOne
strategy: allinone

rbac:
clusterRole: true
Expand Down

0 comments on commit eb18d7c

Please sign in to comment.