Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
b432068e82 | |||
16f1ff14ff | |||
15daa960c2 | |||
105bc71e9c | |||
a6d6e91ffa |
15
CHANGELOG.md
15
CHANGELOG.md
@ -1,3 +1,18 @@
|
|||||||
|
## [0.8.3](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/compare/v0.8.2...v0.8.3) (2023-07-16)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Filter redundant release fields ([16f1ff1](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/commit/16f1ff14ff4616b28462715ce2d6fd6490254b10))
|
||||||
|
|
||||||
|
## [0.8.2](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/compare/v0.8.1...v0.8.2) (2023-07-16)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* Remove race condition when testing target url ([105bc71](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/commit/105bc71e9c16ebf9afa5a4027d1131f311a76c5e))
|
||||||
|
* Set filemode per key ([a6d6e91](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/commit/a6d6e91ffadd13650c0ce44d0c43e96dea3c6711))
|
||||||
|
|
||||||
## [0.8.1](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/compare/v0.8.0...v0.8.1) (2023-07-14)
|
## [0.8.1](https://code.spamasaurus.com/djpbessems/ContainerImage.JSONServer/compare/v0.8.0...v0.8.1) (2023-07-14)
|
||||||
|
|
||||||
|
|
||||||
|
@ -64,8 +64,8 @@ data:
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
[ $(curl -kLs -w "%{http_code}" -o /dev/null https://$URL) != 200 ] && {
|
[[ $(getent hosts $URL) ]] || {
|
||||||
echo 'Could not connect to' $URL
|
echo 'Could not resolve' $URL
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +76,7 @@ data:
|
|||||||
echo '['$(date "+%Y-%m-%d %H:%M:%S")']' $(curl -ks https://$URL/components | jq length) 'known releases in database'
|
echo '['$(date "+%Y-%m-%d %H:%M:%S")']' $(curl -ks https://$URL/components | jq length) 'known releases in database'
|
||||||
|
|
||||||
for entry in $(helm list --all-namespaces --output json | jq -r '.[] | @base64'); do
|
for entry in $(helm list --all-namespaces --output json | jq -r '.[] | @base64'); do
|
||||||
RELEASE=$(echo $entry | base64 -d)
|
RELEASE=$(echo $entry | base64 -d | jq -cS '.type="helm" | del(.namespace, .revision, .status)')
|
||||||
APP_NAME=$(echo $RELEASE | jq -r '.name')
|
APP_NAME=$(echo $RELEASE | jq -r '.name')
|
||||||
APP_ID=$(curl -ks https://$URL/components?name=$APP_NAME | jq -r '.[0].id')
|
APP_ID=$(curl -ks https://$URL/components?name=$APP_NAME | jq -r '.[0].id')
|
||||||
|
|
||||||
|
@ -60,18 +60,25 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
- "/opt/update.sh -u {{ .Values.sidecar.targetUrl }}"
|
- "/opt/update.sh -u {{ .Values.sidecar.targetUrl }}"
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: {{ .Release.Name }}-configmap
|
- name: {{ .Release.Name }}-configmap
|
||||||
mountPath: /opt/update.sh
|
mountPath: /opt/update.sh
|
||||||
subPath: update.sh
|
subPath: update.sh
|
||||||
defaultMode: 0744
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: {{ .Release.Name }}-configmap
|
- name: {{ .Release.Name }}-configmap
|
||||||
configMap:
|
configMap:
|
||||||
name: {{ .Release.Name }}-configmap
|
name: {{ .Release.Name }}-configmap
|
||||||
|
items:
|
||||||
|
- key: db.json
|
||||||
|
path: db.json
|
||||||
|
- key: index.html
|
||||||
|
path: index.html
|
||||||
|
- key: update.sh
|
||||||
|
path: update.sh
|
||||||
|
mode: 0744
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
|
Reference in New Issue
Block a user