Skip to content
This repository has been archived by the owner on May 20, 2022. It is now read-only.

if all config was set in the config.json bypass the checks #315

Merged
merged 1 commit into from
Sep 28, 2018
Merged

if all config was set in the config.json bypass the checks #315

merged 1 commit into from
Sep 28, 2018

Conversation

cpanato
Copy link
Contributor

@cpanato cpanato commented Sep 28, 2018

This makes the image more k8s friendly for our helm charts

if all the config was set in the config.json and we provide that dont need to check the DB.
also the check for the db in k8s is made by an init container.

this improve this image to work in k8s envs.

cc @jwilander

@cpanato
Copy link
Contributor Author

cpanato commented Sep 28, 2018

just test this in our helm chart and works like a charm 😄

Copy link
Member

@jwilander jwilander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but @pichouk's review will mean much more than mine :)

Copy link
Contributor

@pichouk pichouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I fixed an issue for regular Docker users that spawn their instance for the first time. Travis test should be OK now ;)

@pichouk pichouk merged commit 8adcd9e into mattermost:master Sep 28, 2018
@cpanato cpanato deleted the fix_entrypoint_k8s branch October 1, 2018 07:08
@cpanato
Copy link
Contributor Author

cpanato commented Oct 1, 2018

@pichouk thanks!!

nickygerritsen added a commit to Lets-Talk-NL/mattermost-docker that referenced this pull request Dec 21, 2018


* 'master' of https://github.com/mattermost/mattermost-docker:
  bump to 5.6.1
  bump to version 5.6.0
  Allow to properly shutdown web container
  bump to 5.5.1
  renamed the vars to be better inline with the readme (mattermost#341)
  Bump to 5.5.0
  downgrade alpine to 3.7 due xmlsec1 issues (mattermost#334)
  Improve app to db connection setup (mattermost#332)
  fix S3 wal-e support (mattermost#324)
  fix uuoc and typo (mattermost#333)
  fix permission in plugin folder (mattermost#331)
  Fix database HEALTHCHECK with correct user/db name (mattermost#330)
  Upgrade to 5.4.0 (mattermost#327)
  Fix typo (mattermost#323)
  Add warning about read_only (mattermost#321)
  Fix database healthcheck (mattermost#318)
  Remove DB check in the app/entrypoint (mattermost#316)
  if all config was set in the config.json bypass the checks (mattermost#315)
  add ability to build your own mm binary (mattermost#314)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants