Skip to content

Commit e7913a3

Browse files
committed
extend journey
1 parent 62b2aa1 commit e7913a3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/journey.md

+23
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,26 @@ As the description says _"like Terraform but you manage the infra from inside"_
1717
As this is rather a simple and small project, without environments and dozens of modules, I just split the files by duty and we're good to go.
1818

1919
And since I'm awaiting the credits for the project, and my flatmate is already waiting with the pizza, I'll close for now.. :)
20+
21+
## Part 2
22+
23+
Today I had some spare hours, so I made my terraform code a little more robust and used `terraform fmt` to adhere to formatting standards.
24+
Now crossplane gets deployed in its dedicated namespace
25+
26+
Now comes the tricky part: Getting up the [DigitalOcean Provider](https://github.com/crossplane-contrib/provider-digitalocean)!
27+
Unfortunately I'm no real expert in Go and operators for Kubernetes, and the documentation is by no means complete.
28+
But, you know, OOP is OOP, right? Except, I do yaml all day long!
29+
30+
After and hour or two after getting distracted by so many things in the makefile, in the code, in the [godo library](https://github.com/digitalocean/godo) and in the Go language itself, I finally made myself enough comfortable to run the operator locally and see what happens.
31+
All you need is `go run cmd/provider/main.go`!
32+
Then I tried the provided example, but found out it didn't work, because crossplane expects an annotation of `crossplane.io/external-name` on the resource. After setting this (and creating a [PR](https://github.com/crossplane-contrib/provider-digitalocean/pull/25)) it worked! :tada:
33+
34+
## Part 3
35+
36+
So since the operator is not that fully fledged to create all resources DigitalOcean is offering, its time to brush up my Go skills (and programming in general) and create some more PRs!
37+
38+
I always find it intimidating to start working on big projects which have a big and active community, I don't want to be the idiot who didn't understand anything. But this project seems to be a good fit for me and now. I love the Kubernetes Ecosystem, always wanted to learn more Go and its not a complete useless project like the 37,293,484th ToDo or Calculator App.
39+
40+
## Wrapup
41+
42+
TBD - Not yet completely done!

0 commit comments

Comments
 (0)