Skip to content

Instantly share code, notes, and snippets.

@balamuru
balamuru / aws.md
Last active September 17, 2020 04:20

AWS

IAM

  • User - end users
  • Group - a collection of users. Each user in the group will inherit the permissions of the group
  • Policies - collection of permissions expressed as JSON docuements
  • Roles - a collection of policies
# log in using your dockerhub username password
$ docker login
$ oc create secret generic regcred --from-file=.dockerconfigjson=/home/ocadmin/.docker/config.json --type=kubernetes.io/dockerconfigjson
$ oc edit sa default
==== add following ==>
imagePullSecrets:
- name: regcred