Skip to content

Commit

Permalink
Fix sloth issues (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinBisson authored Jan 29, 2024
1 parent 50b4572 commit fa805b0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ and this project's packages adheres to [Semantic Versioning](http://semver.org/s

## [Unreleased]

### Fixed

- Fix issues related to git-sync since upgrade to [4.x.x](https://github.com/kubernetes/git-sync/releases/tag/v4.0.0).

### Changed

- Configure gsoci.azurecr.io as the default container image registry.

## [1.3.0] - 2024-01-23

### Added
Expand Down
6 changes: 3 additions & 3 deletions helm/sloth/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ spec:
image: {{ .Values.commonPlugins.image.registry }}/{{ .Values.commonPlugins.image.repository }}:{{ .Values.commonPlugins.image.tag }}
args:
- --repo={{.Values.commonPlugins.gitRepo.url}}
- --branch={{.Values.commonPlugins.gitRepo.branch}}
- --wait=30
- --ref={{.Values.commonPlugins.gitRepo.ref}}
- --period=30s
- --webhook-url=http://localhost:8082/-/reload
volumeMounts:
- name: sloth-common-sli-plugins
# Default path for git-sync.
mountPath: /tmp/git
mountPath: /git
{{- with .Values.securityContext.container }}
securityContext:
{{- toYaml . | nindent 12 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/sloth/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"gitRepo": {
"type": "object",
"properties": {
"branch": {
"ref": {
"type": "string"
},
"resources": {
Expand Down
6 changes: 3 additions & 3 deletions helm/sloth/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
labels: {}

image:
registry: docker.io
registry: gsoci.azurecr.io
repository: giantswarm/sloth
tag: v0.11.0

Expand Down Expand Up @@ -37,12 +37,12 @@ sloth:
commonPlugins:
enabled: true
image:
registry: docker.io
registry: gsoci.azurecr.io
repository: giantswarm/git-sync
tag: v4.2.0
gitRepo:
url: https://github.com/slok/sloth-common-sli-plugins
branch: main
ref: main
resources:
limits:
cpu: 50m
Expand Down

0 comments on commit fa805b0

Please sign in to comment.