<p>I am trying to install postgresql using helm on my kubernetes cluster.
I get error in transport when i run the helm install command.</p>

<p>I have tied different solutions online, none worked.</p>

<pre><code>helm install --name realtesting stable/postgresql --debug
</code></pre>

<p>The expect result is a deployed postgresql on my kubernetes cluster</p>

<p>Please help!</p>

<p>It seems that you have not initialized helm with a service account.</p>

<p>In rbac-config.yaml:</p>

<pre><code>apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
  - kind: ServiceAccount
    name: tiller
    namespace: kube-system
</code></pre>

<p><strong>Step 1</strong>: <code>kubectl apply -f rbac-config.yaml</code></p>

<p><strong>Step 2</strong>: <code>helm init --service-account tiller --history-max 200</code></p>

<p><strong>Step 3</strong>: Test the setup with <code>heml ls</code>. There would not be any output from running this command and that is expected. Now, you can run <code>helm install --name realtesting stable/postgresql</code></p>
