Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove default credentials from Helm charts #5509

Merged
merged 1 commit into from
Jun 10, 2020

Conversation

xrstf
Copy link
Contributor

@xrstf xrstf commented Jun 9, 2020

What this PR does / why we need it:
Prevent accidentally insecure configurations by removing the default credentials. This gets even more important once Kubermatic is OSS. Unfortunately this requires existing installations to be manually migrated.

Documentation:
kubermatic/docs#331

Does this PR introduce a user-facing change?:

ACTION REQUIRED: Default credentials for Grafana/Minio have been removed. If you never configured credentials, refer to the upgrade notes.
ACTION REQUIRED: Grafana credentials in Helm values are not base64-encoded anymore.

@kubermatic-bot kubermatic-bot added release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jun 9, 2020
Comment on lines +2 to +3
admin_password = {{ .Values.grafana.password | quote }}
admin_user = {{ .Values.grafana.user | quote }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There was zero good reason to base64 something that is clearly labelled as "PASSWORD". Obscurity is one thing, but obscurity plus exhibition is a weird combo.

This PR is the perfect opportunity to remove this needless extra step when setting up Kubermatic.

@kdomanski
Copy link
Contributor

/lgtm
/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 10, 2020
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: bca6a12d7c1415c8206e81199b95cce43e7a1146

@xrstf xrstf force-pushed the remove-default-credentials branch from 53857ee to 892451c Compare June 10, 2020 09:13
@kubermatic-bot kubermatic-bot removed the lgtm Indicates that a PR is ready to be merged. label Jun 10, 2020
@kdomanski
Copy link
Contributor

/lgtm
/approve

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 10, 2020
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: ef6bf5663530508cb59fc49d424ccd31e146ec65

@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kdomanski, xrstf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot merged commit bf9319f into kubermatic:master Jun 10, 2020
@kubermatic-bot kubermatic-bot deleted the remove-default-credentials branch June 10, 2020 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note-action-required Denotes a PR that introduces potentially breaking changes that require user action. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants