kubernetes-django icon indicating copy to clipboard operation
kubernetes-django copied to clipboard

replication-controller.yaml volumeMounts error

Open msanchezt opened this issue 7 years ago • 6 comments

There is an error with the "volumeMounts" section (which is commented by default).

You should change it by the correct one. Like this:

     # TODO: User persistent disks, volumes and claims for the following
      volumeMounts:
        - name: pg-data
          mountPath: /var/lib/postgresql/data
  volumes:
    - name: pg-data
      persistentVolumeClaim:
        claimName: pg-data-claim

msanchezt avatar Mar 18 '17 20:03 msanchezt

Thank you. If you know how to, could you please submit this change as pull request?

hnarayanan avatar Mar 19 '17 00:03 hnarayanan

I'm trying but is giving me errors, either trying to push with SSL or SSH. First time so can be my mistake...

fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

msanchezt avatar Mar 19 '17 08:03 msanchezt

I see, thank you for trying. You cannot push directly to this repository, so you need to first fork a copy to your account, make the change on that repository, push those back to GitHub and then open a pull request for me to consider.

hnarayanan avatar Mar 19 '17 16:03 hnarayanan

Ok, I think I did it right now.

msanchezt avatar Mar 21 '17 14:03 msanchezt

I don't see a Pull Request. :)

hnarayanan avatar Mar 21 '17 14:03 hnarayanan

Hi! I see what you're trying to do and you're really close. Try to issue a pull request, where the intended branch to be merged into is my repository, not yours. :)

hnarayanan avatar Mar 29 '17 19:03 hnarayanan