Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tls notes documentation #352

Merged
merged 3 commits into from
Dec 5, 2017
Merged

Improve tls notes documentation #352

merged 3 commits into from
Dec 5, 2017

Conversation

qu1queee
Copy link
Contributor

@qu1queee qu1queee commented Sep 5, 2017

Hi,

Currently both database and cell jobs are having similar certificate paths. With path I mean something like properties.tls.cert. This is confusing, because in theory you could have under the properties block the same path(properties.tls.cert) and I´m not sure which job will take it(database or cell). Seems the best way to define them, its always inside the job itself.

Therefore I modified the description to be more explicit in relation to where those certs should be defined, and in which spec file their description can be found.

Regards,
Enrique Encalada

@cfdreddbot
Copy link

Hey qu1queee!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you and the commit authors have already signed the CLA.

@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/150800547

The labels on this github issue will be updated when the story is started.

@qu1queee qu1queee changed the title Tls notes Improve tls notes documentation Sep 5, 2017
@qu1queee
Copy link
Contributor Author

Any updates on this?

@emalm
Copy link
Member

emalm commented Sep 25, 2017

Hi, @qu1queee,

The CF community is moving towards BOSH deployment manifests that specify properties on each individual BOSH job in an instance group, as BOSH has deprecated properties with manifest or instance-group scope. That shift is best reflected in the cf-deployment manifests. As a result, we're generally not including the previous diego.$COMPONENT name-spacing prefix on most new properties we add to diego-release, including these recent TLS properties.

So for the Locket certs, I think it is most accurate to say that they should be set on the locket job in any manifest or, secondarily, on the database_zN instance groups in the diego-release-generated manifest. We used the latter option in the diego-release templates to reduce the amount of spiff-based complexity in the templates. Similarly, for the cell rep TLS properties, it would be most accurate to say they should be set on the rep and rep_windows jobs or on the cell_zN and cell_windows_zN instance groups in the diego-release-generated manifest. Would you be willing to revise the PR to explain those nuances?

Thanks,
Eric, CF Diego PM

@qu1queee
Copy link
Contributor Author

qu1queee commented Oct 5, 2017

Hi, @emalm

I was not aware this documentation was very cf-deployment specific(not using it yet). In any case the changes were based on BOSH v2 schema, so that covers it.

Regarding your question, the current state of the documentation was confusing for me(tls part). Because, first it makes a reference to locket, which is an element of the job array inside the database instance_group. But when you speak about the tls for cells, the documentation makes a reference to the cell instance_group, and not to any job inside it, therefore this confused me.

You need to keep both(database and cell) tls documentation consistent.

Regards,

Enrique Encalada

@emalm emalm merged commit 77f8c35 into cloudfoundry:develop Dec 5, 2017
emalm added a commit that referenced this pull request Dec 5, 2017
jvshahid added a commit that referenced this pull request Jun 5, 2018
Submodule src/code.cloudfoundry.org/executor 23ff7f34..08a81a58:
  > use the new gomega Receive matcher to cleanup the tests
Submodule src/github.com/onsi/ginkgo 67b9df7f5..c73579c58:
  > Increase eventually timeout to 30s
  > Clarify asynchronous test behaviour
  > Travis badge should only show master
  > v1.5.0
  > Bring the changelog up to date (#470)
  > Merge pull request #466 from onsi/issue-464
  > Merge pull request #468 from onsi/update-changelog
  > Merge pull request #459 from onsi/unfocus-exclude-vendor
  > Merge pull request #456 from idoru/ignore-suite-with-ignored-go-files
  > Merge pull request #455 from onsi/flaky-measurements
  > Merge pull request #423 from alamages/coverage-tests-fix
  > Add go 1.10 to travis
  > Merge pull request #448 from melnikk/master
  > Merge pull request #451 from onsi/go-1.10-coverage-test
  > Merge pull request #446 from onsi/do-not-create-outputdir
  > Add an extra new line after reporting spec run completion
  > Merge pull request #441 from blgm/releasing
  > Merge pull request #443 from onsi/add-go-1.10
  > Merge pull request #438 from onsi/issue-436
  > Merge pull request #434 from mezis/blur-specify
  > Merge pull request #430 from onsi/issue-426
  > Add tests for When/Specify
  > Update comments and README.md for `When` DSL
  > Merge pull request #386 from akshaymankar/when
  > Merge pull request #383 from eloycoto/master
  > fix the tests on go versions <1.9
  > add a test case for #415
  > Fix Ginkgo stack trace on failure for Specify
  > Merge pull request #409 from lflux/readme-update
  > Merge pull request #400 from alex-slynko/patch-1
  > Merge pull request #403 from alex-slynko/fix_govet
  > Merge pull request #404 from lflux/travis-go-1.9
  > Merge pull request #399 from alex-slynko/fix_imports
  > Merge pull request #401 from alex-slynko/patch-2
  > Merge pull request #398 from martinxsliu/generated-import-ordering
  > Merge pull request #390 from DennisDenuto/master
  > Re-add noisySkippings flag
  > Replace GOPATH in Environment
  > Allow coverage to be displayed for focused specs (#367)
  > ensure customer reporters are run before default reporter
  > Handle -outputdir flag (#364)
  > Handle -coverprofile flag (#355)
  > v1.4.0
  > v1.4.0
  > fix CONTRIBUTING.md
  > Add a CONTRIBUTING.md file
  > add -timeout flag.  fixes #248
  > add 'requireSuite' flag to cause failure if there are test files but no suite (#359)
  > update changelog
  > emit compilation output
  > link to vscode extension
  > add ginkgo watch -watchRegExp fixes #356
  > remove fixCompilationOutput  (fixes #357)
  > Remove mailing list
  > Add Rick and Morty quote to untilItFails messages (#354)
  > Revert "Fix wrong repo URL (#351)" (#352)
  > Fix wrong repo URL (#351)
  > Lack of test suites no longer breaks builds (#347)
  > Update CHANGELOG.md
  > Warn when a suite has test files but no tests to run (#345)
  > fix flaky test by, you know, not relying on obscure go internals
  > update .travis.yml to get latest patch releases
  > fix failing go 1.5 tests
  > ensure tests pass on Go 1.8.1
  > v1.3.1: Actually change the CLI version
  > print location of test suite that failed to report back (#339)
  > v1.3.0
Submodule src/github.com/onsi/gomega 777f4d387..41673fd8f:
  > allow 'Receive' matcher to be used with concrete types (#286)
  > Fix data race in ghttp server (#283)
  > Travis badge should only show master
  > v1.4.0
  > Update the CHANGELOG.md with all changes since last release
  > Improve message from AssignableToTypeOf when expected value is nil (#281)
  > Merge pull request #278 from benmoss/master
  > Merge pull request #273 from vayan/master
  > change Ω to Expect in most places (#268)
  > Merge pull request #272 from trayo/master
  > Merge pull request #271 from onsi/add-go-1.10
  > Merge pull request #270 from Patagonicus/master
  > Remove tests that tried to verify signals as async
  > Merge pull request #262 from onsi/issue-173
  > Merge pull request #259 from onsi/issue-258
  > v1.3.0
  > Add more robust support for XUnit style tests
  > Merge pull request #256 from onsi/allow-multiple-go-routines
  > Merge pull request #253 from challiwill/master
  > Merge pull request #249 from alex-slynko/fix_govet
  > Merge pull request #247 from alex-slynko/fix_imports
  > Merge pull request #243 from williammartin/find-first-mismatch-oob
  > Merge pull request #241 from ivy/fix-typos
  > Merge pull request #218 from alex-slynko/patch-1
  > Merge pull request #239 from williammartin/parallel-testing
  > Merge pull request #235 from onsi/fix-227
  > MatchXML should ignore the order of xml node attributes
  > Merge pull request #233 from kaedys/bugfix/error-matcher-fix
  > Uses equality matcher for matching error strings

Signed-off-by: Sunjay Bhatia <sbhatia@pivotal.io>
n4wei pushed a commit that referenced this pull request Jan 11, 2019
[finishes #163037208](https://www.pivotaltracker.com/story/show/163037208)

Submodule src/code.cloudfoundry.org/executor 325be3662..b67be5e6e:
  > Merge branch 'pr/41'
Submodule src/github.com/envoyproxy/go-control-plane 000000000...8a91fb26f (new submodule)
Submodule src/github.com/gogo/googleapis 000000000...8558fb44d (new submodule)
Submodule src/github.com/gogo/protobuf f9114dace..4cbf7e384:
  > Merge pull request #528 from jmarais/mergeaa810b6
  > merged in golang/protobuf commit 7d1b268556d691919f2262240737157830eab632 - jsonpb: avoid unexported fields in hand-crafted message (#526)
  > merged in golang/protobuf commit f5983d50c82d70eaa88c17080245cc871558081f - proto: make invalid UTF-8 errors non-fatal (#525)
  > merged in golang/protobuf commit 560bdb64431cc123098c2db67f16053a923a0688 - jsonpb: strictly document JSONPBMarshaler and JSONPBUnmarshaler behavior (#524)
  > merged in golang/protobuf commit 93b26e6a70e37abb14f2f88194949312b0592a84 - protoc-gen-go: refactor generator by splitting up generateMessage
  > Merge pull request #522 from jmarais/somemerges
  > use only one write in the varint writer when possible (#504)
  > fix typo independant to independent (#512)
  > Add godocs link to Readme.md (#506)
  > Fix text unmarshal for (u)int(8/16) fields (#498)
  > Codegen for well-known types (#489)
  > reorder some of the protoc paths in order to prefer our protobuf/google/protobuf/*.proto files. This is just to avoid using the wrong protos if you have the same protos in you gopath/src dir. (#502)
  > fix error: bad Go source code was generated, illegal hexadecimal number (#488)
  > Jsonpb custom type - #411 (#491)
  > Customtype  Warnings and issues  update (#479)
  > Exact slice allocation for repeated packed varints (#480)
  > Adding missing func to CustomType documentation (#483)
  > bumped the go version (#475)
  > added nil check in Proto/Size methods fix #444 (#451)
  > fix for letmegrpc (#474)
  > options to not generate xxx fields (#467)
  > updated to go1.11 and removed go1.9 (#473)
  > merged in golang/protobuf commit 70c277a8a150a8e069492e6600926300405c2884 - Fix unmarshaling JSON object with escaped string into Struct type. (#464)
  > merge in golang/protobuf commit 3a3da3a4e26776cc22a79ef46d5d58477532dede - proto: mention field name in error message (#616) (#465)
  > added license details to Readme.md (#469)
  > Update Readme.md (#468)
  > Set defaults on nonnullable fields (#435) (#459)
  > removed the GOPATH env dep in the makefile protopath (#461)
  > Merge pull request #455 from donaldgraham/master
  > Fix nullable extension issues for non generated code (#453)
  > Fix wrong build tags (#445)
  > merged commit 32a84b27e28ab9f681f0df16160c4ef1f6587094 from golang/pr… (#446)
  >  Added ProtoSize wrapper functions for the well known types  #438 (#443)
  > exact slice allocation for fixed size packed fields (#437)
  > Added gRPC Course on Udemy (#434)
  > Update Readme.md
  > Fix typo (#441)
  > fix #427 consistent import naming between the import declaration and the vars in grpc
  > fix build by regenerating everything
  > fix git diff for travis
  > merged 7c4add53b497798e7fd7b204f28e41ab409bdbb7 from golang/protobuf. protoc-gen-go: remove deprecated function in grpc (#426)
  > merged 3fac2a27c94f99f4379551928df388fcb0ad37ce from golang/protobuf. ptypes: optimize Is to avoid prefix scan (#425)
  > Merge pull request #424 from gogo/dev
  > gofmt
  > travis: opt into apt get
  > messagename
  > grpc error usage article
  > add mentions from Johan Brandhorst
  > merge bbd03ef6da3a115852eaf24c8a1c46aeb39aa175 from golang/protobuf
  > upgrade to go1.10
  > fix build for gopherjs that now requires go 1.10
  > fix build
  > fix for issue 389: importing of customtypes that are messages should not cause another import for the original message
  > Update Readme.md
  > add new user : go-spacemesh
  > protoc-min-version don't suppress protoc stdout and stderr out on success. (#381)
  > Update Readme.md
  > More well known types (#378)
  > Added link to new blog post in README (#375)
  > merge 925541529c1fa6821df4e44ce2723319eb2be768 from golang/protobuf
  > Added instructions for using proto files from google/protobuf (#371)
  > another user: zero stor
  > Update to protobuf 3.5.1 and minor cleanups for Golang 1.10 (#363)
  > Test with latest Go and protobuf patch versions. (#352)
  > Merge pull request #361 from temoto/lint-equal-return
  > Merge pull request #357 from benesch/populate-recursion
  > example
  > Merge pull request #355 from agnivade/agnivade-protopath
  > Merge pull request #341 from meling/master
  > fix for testdata/my_test
  > Merge pull request #350 from tomwilkie/go_package
  > Merge pull request #345 from Starnop/master
  > min version 3 for my_test/test.proto
  > Update extensions.md
  > merged 130e6b02ab059e7b717a096f397c5b60111cae74 from golang/protobuf
  > updated descriptor
  > merged 11b8df160996e00fd4b55cbaafb3d84ec6d50fa8 from golang/protobuf
  > merged 17ce1425424ab154092bbb43af630bd647f3bb0d from golang/protobuf
  > merged 5afd06f9d81a86d6e3bb7dc702d6bd148ea3ff23 from golang/protobuf
  > Merge pull request #343 from gogo/nounsafe
  > Merge branch 'master' of https://github.com/gogo/protobuf
  > fix mixbench
  > fix for issue 330
  > remove unset GOROOT
  > different unset method
  > unset GOROOT
  > update gopherjs
  > go1.9 for gopherjs
  > upgrade descriptor and other includes
  > protoc3.4
  > Merge branch 'master' of https://github.com/gogo/protobuf
  > less go versions
  > upgrade to go1.9
  > nullable = false for defaults as well
  > merged 1909bc2f63dc92bb931deace8b8312c4db72d12f from golang/protobuf
  > merged 748d386b5c1ea99658fd69fe9f03991ce86a90c1 from golang/protobuf
  > merged 0a4f71a498b7c4812f64969510bcb4eca251e33a from golang/protobuf
  > merged 4f95b0d3eab845462f9b0ca5ad21dea8093be211 from golang/protobuf
  > merged 5a0f697c9ed9d68fef0116532c6e05cfeae00e55 from golang/protobuf
  > merged 6e4cc92cc905d5f4a73041c1b8228ea08f4c6147 from golang/protobuf
  > merged 9f174c986221c608fb5143bd623b6076a71feae3 from golang/protobuf
  > merge 7b8002443fd4a3ce5f25ef93087c524546799a56 from golang/protobuf
  > merge 63bfc7087234061252151bf2276a9db446645bb9 from golang/protobuf
  > Fix unmarshal to correctly handle default value in maps (#318)
  > Fix a race when using TextMarshal on a StdDuration (#290)
  > another gostring fix for non nullable repeated types
  > fix for issue 312
  > hacks to reproduce a failing GoString test
  > trying to reproduce issue 312
  > Update Readme.md
  > more consistent marshal/unmarshal behavior for types that implement json Marshaler and Unmarshaler interfaces (#308)
  > Update Readme.md
  > Update Readme.md
  > Update Readme.md
  > remove tags of typedecl=false and add JsonPBMarshalers and Unmarshaler implementations
  > fix:305 only serialize protofields (#307)
  > Update Readme.md
  > Update Readme.md
  > Merge branch 'master' of https://github.com/gogo/protobuf
  > doc.go file in sizerconflict
  > merged 7a211bcf3bce0e3f1d74f9894916e6f116ae83b4 from golang/protobuf
  > merged a4e8f93323fcf2bc1ae5c036dc4d973872057936 from golang/protobuf
  > upgrade to proto3.3 and merge 157d9c53be5810dd5a0fac4a467f7d5f400042ea and fec3b39b059c0f88fa6b20f5ed012b1aa203a8b4 from golang/protobuf
  > merged 47eb67eaf5cab63c58956d4d4ce86b03ad5eaa03 from golang/protobuf follow the new code generation comment convention
  > merged b50ceb1fa9818fa4d78b016c2d4ae025593a7ce3 from golang/protobuf
  > disable Any with Message for go1.7
  > merged 18c9bb3261723cd5401db4d0c9fbc5c3b6c70fe8 from golang/protobuf
  > Update extensions.md
  > removed go1.6.3 from continious testing
  > Merge branch 'master' of https://github.com/gogo/protobuf
  > install protoc script modified to rather download precompiled protoc for versions which has this available
  > protoc 3.2.0 (#280)
  > skip unsafe tests for bigendian architectures. (#272)
  > Compile time warning when both Sizer and Protosizer are used (#271)
  > Add dual registration plugin (#270)
  > better mesos-go link
  > fixed mesos-go sample link
  > a real fix for issue261
  > Merge branch 'master' of https://github.com/gogo/protobuf
  > fixes issue 261
  > fix broken build
  > fix for issue 262
  > Remove unnecessary statement (#263)
  > Add references to some custom imports (#258)
  > new user protoactor-go
  > Unrendered markdown (#256)
  > Drop types declaration option (#250)
  > fix for issue 253 gostring for stdtime and stdduration when nullable=false
Submodule src/github.com/lyft/protoc-gen-validate 000000000...a11cd25ca (new submodule)

Co-authored-by: Sunjay Bhatia <sbhatia@pivotal.io>
n4wei pushed a commit that referenced this pull request Oct 9, 2019
Submodule src/github.com/onsi/ginkgo eea6ad008..d90e0dcda:
  > Add integration test
  > Fix coverage files combining
  > A new CLI option: -ginkgo.reportFile <file path> (#601)
  > v1.10.2
  > speed up table entry generateIt() (#609)
  > Fix. Write errors to stderr instead of stdout (#610)
  > v1.10.1
  > stack backtrace: fix skipping (#600)
  > v1.10.0
  > stack backtrace: fix alignment and skipping
  > fix typo in documentation
  > v1.9.0
  > Fixed typos in comments
  > gofmt code
  > Simplify code
  > Simplify concatenation, incrementation and function assignment
  > Avoid unnecessary conversions
  > JUnit: include more detailed information about panic
  > Option to print output into report, when tests have passed
  > Print help to stdout when the user asks for help
Submodule src/github.com/onsi/gomega 41673fd8f..bdebf9e0e:
  > v1.7.0
  > export format property variables (#347)
  > minor fix in the documentation of ExpectWithOffset (#358)
  > v1.6.0
  > Remove duplication in XML matcher tests
  > Remove unnecessary conversions (#357)
  > Fixed import order (#353)
  > Added missing error handling in test (#355)
  > Simplify code (#356)
  > Simplify code (#354)
  > Fixed typos (#352)
  > Add failure message tests to BeElementOf matcher
  > Update go-testcov untested sections
  > mark all uncovered files so go-testcov ./... works
  > display special chars on error
  > Reenable gotip in travis
  > Add BeElementOf matcher
  > Fix the typo of comment (#345)
  > Optimize contain_element_matcher
  > v1.5.0
  > add analogous tests to fields_test.go
  > added tests for error messages
  > remove redundant validity check
  > ensure error messages refer to the underlying interface, not the `reflect.Value`
  > Run CI on go 1.12 and not 1.9
  > Turn off gotip on travis
  > Mark session_test.go with build tag (#324)
  > more matcher tests
  > try to appease linters
  > MatchKeys
  > Clarify message for unexpected errors
  > make it easy to run everythin that travis would do
  > remove go 1.6, 1.7, 1.8 from the build matrix, and add tip
  > fix lint errors and use type aliases to remove stuttering
  > remove duplication of code and add docs to public function
  > v1.4.3
  > test yaml parser errors and better comment on why panics are there
  > add test for not matcher with errors
  > add test for or matcher with errors
  > add tests for positive failure messages of Panic
  > ensure file name and line numbers are correctly reported
  > Fail the build if gofmt detects any changes required
  > Make changes to satisfy gofmt
  > Move GO111MODULE into more suitable env key in Travis
  > Add coverage for BeZero and Succeed matchers (#307)
  > Fixed matcher for content-type (#305)
  > v1.4.2
  > Refactor goexec build test
  > Updates for Go v1.11 official release
  > Add go.mod and go.sum files to define the gomega go module
  > Work around go vet issue with Go v1.11 (#300)
  > Better output when using with go XUnit-style tests, fixes #255 (#297)
  > Fix MatchJSON fail to parse json.RawMessage (#298)
  > Move funcs shared by MatchJSON and MatchYAML to a dedicated support file
  > Added first failure path matching for YAML (#279)
  > show threshold in failure message of BeNumericallyMatcher (#293)
  > v1.4.1
  > Update documentation (#289)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants