You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contributing_to_docs/doc_guidelines.adoc
+61-2Lines changed: 61 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -753,7 +753,32 @@ If you are upgrading a cluster in a restricted network, install the `oc` version
753
753
754
754
Note that you must set and unset each temporary attribute that you introduce to an assembly. Use the temporary attributes in the applicable ifdef and ifndef statements to vary text between the assemblies. The preceeding example uses `restricted` as the temporary attribute to display an additional paragraph for the assembly with the `updating-restricted-network-cluster` context attribute.
755
755
756
-
== Node names
756
+
[id="do-not-use-sensitive-information-in-docs"]
757
+
== Ensuring that you do not include sensitive information
758
+
759
+
If you use sample code that you get from Engineering or QE team members, review the code for potentially sensitive data from customer or test environments.
760
+
Do not include test or customer data in any field or comment in the YAML.
761
+
762
+
Examples of sensitive information from customer or test environments can include:
763
+
764
+
Node names::
765
+
For example, internal company or customer server names.
766
+
See <<node-names>> for more information.
767
+
768
+
IP addresses::
769
+
Replace all public IP addresses with generic IP addresses.
770
+
See <<ip-addresses>> for more information.
771
+
772
+
MAC addresses::
773
+
Ensure that any MAC addresses that you include in source example are generic and do not identify real machines.
774
+
See <<mac-addresses>> for more information.
775
+
776
+
Sensitive Red Hat, customer, or partner information::
777
+
Remove or rework text or comments that inadvertently describe sensitive Red Hat, customer, or partner data, or names new or un-released features or products.
778
+
See <<sensitive-or-unreleased-information>> for more information.
779
+
780
+
[id="node-names"]
781
+
=== Node names
757
782
758
783
Do not use internal company server names in commands or example output. Provide generic OpenShift Container Platform node name examples that are not provider-specific, unless required. Where possible, use the example.com domain name when providing fully qualified domain names (FQDNs).
Some provider-formatted hostnames include IPv4 addresses. An OpenShift Container Platform node name typically reflects the hostname of a node. If node names in your output need to be provider-specific and require this format, use private IPv4 addresses. For example, you could use `ip-10-0-48-9.example.com` as a node name that includes a private IPv4 address.
814
839
====
815
840
816
-
== IP addresses
841
+
[id="ip-addresses"]
842
+
=== IP addresses
817
843
818
844
You may include IPv4 addresses from test clusters in examples in the documentation, provided that they are private. Private IPv4 addresses fall into one of the following ranges:
819
845
@@ -832,6 +858,39 @@ Replace all public IP addresses with an address from the following blocks. These
832
858
There might be advanced networking examples that require specific IP addresses, or cloud provider-specific examples that require a public IP address. Contact a subject matter expert if you need assistance with replacing IP addresses.
833
859
====
834
860
861
+
[id="mac-addresses"]
862
+
=== MAC addresses
863
+
864
+
Ensure that any MAC addresses that you include in source example are generic and do not identify real hosts.
865
+
866
+
[id="sensitive-or-unreleased-information"]
867
+
=== Sensitive or customer-identifying data
868
+
869
+
Ensure that you do not include text or comments that inadvertently describes sensitive Red Hat, customer, or partner data.
870
+
871
+
Possible sources of customer-identifying data includes:
872
+
873
+
* Unreleased product names or project code words
874
+
* Customer and partner names
875
+
* Code comments
876
+
* Example YAML CR snippets
877
+
* Sample application code
878
+
* Logs
879
+
* Configuration files
880
+
* Command output
881
+
* Network or architecture diagrams
882
+
* Network packet captures
883
+
* Package version numbers
884
+
* Heap dumps
885
+
886
+
Where possible, replace specific details with generic examples.
887
+
888
+
[NOTE]
889
+
====
890
+
There might be advanced examples that require specific details, or multipart examples that require specific names to make sense.
891
+
If you have any doubt about what you are documenting, contact a subject matter expert or team lead.
892
+
====
893
+
835
894
[id="links-conditionals-assemblies"]
836
895
== Links, hyperlinks, and cross references
837
896
Links can be used to cross-reference internal assemblies or send readers to external information resources for further reading.
0 commit comments