Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.

[stable/grafana] Set the user and fs group for grafana - #5854

Merged
k8s-ci-robot merged 6 commits into
helm:masterfrom
andybug:andybug/grafna-security-context
Jun 13, 2018
Merged

k8s-ci-robot merged 6 commits into
helm:masterfrom
andybug:andybug/grafna-security-context

Conversation

@andybug

@andybug andybug commented May 31, 2018

Copy link
Copy Markdown
Contributor

What this PR does / why we need it: Fixes persistent volume permission errors with the new grafana image. The init container that downloads remote dashboards will now run as the same user as grafana. Previously, grafana would error and not start.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #5635

Special notes for your reviewer:

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 31, 2018

@brian-schwegmann brian-schwegmann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

:shipit:

@pv93

pv93 commented Jun 4, 2018

Copy link
Copy Markdown

What is the status with this PR? Need it to get stable/grafana working

@andybug

andybug commented Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

lint is failing due to:

Verifying maintainer 'Ming Hsieh'...
ERROR: 'Ming Hsieh' is not a valid GitHub account. Please use a valid Github account to help us communicate with maintainers in PRs/issues.
ERROR: Chart validation failed.

@azman0101

Copy link
Copy Markdown
Contributor

It seems you need to bump the version in Chart.yaml.

@andybug

andybug commented Jun 11, 2018

Copy link
Copy Markdown
Contributor Author

/assign @mgoodness

@andybug

andybug commented Jun 11, 2018

Copy link
Copy Markdown
Contributor Author

/assign @unguiculus

@unguiculus

Copy link
Copy Markdown
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot removed the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 13, 2018
@unguiculus

Copy link
Copy Markdown
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 13, 2018
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andybug, unguiculus

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

The pull request process is described here

Details 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 13, 2018
@k8s-ci-robot
k8s-ci-robot merged commit 98f9398 into helm:master Jun 13, 2018
jainishshah17 added a commit to jainishshah17/charts that referenced this pull request Jun 14, 2018
* art-ha-static-volumes: (60 commits)
  added support for static pv
  [stable/artifactory] adding support for edge node and replicator (helm#5649)
  [stable/grafana] Set the user and fs group for grafana (helm#5854)
  [stable/stolon] Fix issue with secret deletion during helm upgrade (helm#5903)
  cert-manager: fast-forward to upstream 36289cf0 (helm#5919)
  Split Jenkins readiness and liveness probe periods (helm#5704)
  Kafka release name check (helm#5770)
  Adding JFrog Distribution (helm#5631)
  Correct default zookeeper host to be compatible with zk charts (helm#5824)
  [stable/redis] add RBAC (helm#5971)
  [stable/wordpress] Set dependencies to latest version (helm#6074)
  [stable/rabbitmq] Release 1.1.6 (helm#6095)
  [stable/mariadb] Fix configurable parameters (helm#6092)
  [stable/keycloak] Add option to configure sidecars and misc improvements (helm#6090)
  [stable/kubewatch] - Use maintained bitnami image for kubewatch (helm#5871)
  [stable/ghost] Release 4.0.1 (helm#6085)
  update PROCESSES.md to clarify promotion process (helm#6084)
  [incubator/drone] Move drone from incubator to stable (helm#5780)
  fix for helm#6039 (helm#6042)
  [stable/sonatype-nexus] Update image to 3.12.1 (helm#6076)
  ...
voron pushed a commit to dysnix/helm-charts that referenced this pull request Sep 5, 2018
* Set the user and fs group for grafana

* Bump grafana minor version

* Bump version

Signed-off-by: voron <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[stable/grafana] Crash-looping with volume permission denied on fresh install

7 participants