Skip to content

Instantly share code, notes, and snippets.

@gavinzhou
Created October 15, 2018 00:05
Show Gist options
  • Save gavinzhou/4f70a8e3eeeb9a0b9f2c456751005f11 to your computer and use it in GitHub Desktop.
Save gavinzhou/4f70a8e3eeeb9a0b9f2c456751005f11 to your computer and use it in GitHub Desktop.
$ cat wordpress-database.yaml
apiVersion: example.com/v1
kind: Database
metadata:
name: wordpress
spec:
user: wp
password: secret
encoding: unicode
$ kubectl create -f wordpress-databases.yaml
database "wordpress" created
$ kubectl get databases.example.com
NAME KIND
wordpress Database.v1.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment