'Postgres helm chart installation failed in Kubernetes

I am trying to install PostgreSQL with helm chart dependencies in my Kubernetes cluster. But it failed in installation.

chart.yml

dependencies:
- name: postgresql
  version: "10.16.2"
  repository: "https://charts.bitnami.com/bitnami"

values.yml

global:
    postgresql:
      postgresqlDatabase: "postgres"
      postgresqlUsername: "postgres"
      postgresqlPassword: "password"

volumePermissions:
  enabled: true

enter image description here

In this method I was successfully Postgres installed in minikube



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source