UNCLASSIFIED

Commit f148134c authored by Branden Cobb's avatar Branden Cobb
Browse files

Bucket fix

parent 01b484fa
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
--- ---
## [0.1.8-bb.0] - 2021-08-19
### Fix
- Fixes issue with default bucket creation already existing
## [0.1.8-bb.0] - 2021-08-18 ## [0.1.8-bb.0] - 2021-08-18
### Added ### Added
- default user value set to null - default user value set to null
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
apiVersion: v2 apiVersion: v2
name: mattermost name: mattermost
type: application type: application
version: "0.1.8-bb.0" version: "0.1.8-bb.1"
appVersion: "5.37.0" appVersion: "5.37.0"
description: "Deployment of mattermost" description: "Deployment of mattermost"
keywords: keywords:
......
...@@ -36,7 +36,12 @@ spec: ...@@ -36,7 +36,12 @@ spec:
attempt_counter=$(($attempt_counter+1)) attempt_counter=$(($attempt_counter+1))
sleep 10 sleep 10
done done
mc mb bigbang/mattermost if [ $(mc ls bigbang/mattermost >/dev/null; echo $?) -eq 0 ]; then
echo "Default Bucket Exists"
exit 0
else
mc mb bigbang/mattermost
fi
resources: resources:
requests: requests:
memory: 256Mi memory: 256Mi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment