Skip to content

Added etcd folder into .gitignore - #3

Merged
smarterclayton merged 1 commit into
openshift:masterfrom
mfojtik:etcd_gitignore
Aug 12, 2014
Merged

smarterclayton merged 1 commit into
openshift:masterfrom
mfojtik:etcd_gitignore

Conversation

@mfojtik

@mfojtik mfojtik commented Aug 12, 2014

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread .gitignore Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/*.etcd instead - we might have sub folders with that eventually

@mfojtik

mfojtik commented Aug 12, 2014

Copy link
Copy Markdown
Contributor Author

@smarterclayton good catch, fixed.

smarterclayton added a commit that referenced this pull request Aug 12, 2014
Added etcd folder into .gitignore
@smarterclayton
smarterclayton merged commit 9f29ca0 into openshift:master Aug 12, 2014
ironcladlou referenced this pull request in ironcladlou/origin Sep 25, 2014
Add trigger controller to master.go
deads2k referenced this pull request in deads2k/origin Jan 28, 2015
fixed unit test for volume.Source pointer-to-object change
@caruccio caruccio mentioned this pull request Apr 21, 2016
danwinship pushed a commit to danwinship/origin that referenced this pull request Jun 24, 2016
Docker-only containers (eg, "docker run foobar") get attached to lbr0, and
their traffic flows from lbr0 -> vlinuxbr -> vovsbr -> br0.  To ensure that
docker-only containers can access the rest of the world through tun0, we
need to pass their traffic along instead of dropping it in table openshift#3:

 cookie=0x0, duration=12307.238s, table=0, n_packets=292, n_bytes=23330, actions=learn(table=7,hard_timeout=900,priority=200,NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:NXM_NX_TUN_IPV4_SRC[]->NXM_NX_TUN_IPV4_DST[],output:NXM_OF_IN_PORT[]),goto_table:1
 cookie=0x0, duration=12307.227s, table=1, n_packets=165, n_bytes=13199, actions=goto_table:3
 <drop due to no match>

Add a rule allowing traffic from vovsbr to jump from table openshift#3 to table openshift#4,
where it will get directed to the right place (either other pods or tun0).
soltysh referenced this pull request in soltysh/origin Mar 15, 2017
smarterclayton added a commit that referenced this pull request Jun 15, 2017
Refactor controller initialization (round #3)
pecameron added a commit to pecameron/origin that referenced this pull request Oct 16, 2017
Suppress Strict-Transport-Security header for http requests
It is only emitted for https.

bug 1501133
https://bugzilla.redhat.com/show_bug.cgi?id=1501133
see comment openshift#3
openshift-merge-robot added a commit that referenced this pull request Oct 18, 2017
Automatic merge from submit-queue (batch tested with PRs 16888, 16911, 16913, 16904).

Router - hsts for "edge" or "reencrypt" only

Suppress Strict-Transport-Security header for http requests
It is only emitted for https.

bug 1501133
https://bugzilla.redhat.com/show_bug.cgi?id=1501133
see comment #3
jpeeler pushed a commit to jpeeler/origin that referenced this pull request Feb 1, 2018
amiskin94 added a commit to amiskin94/origin that referenced this pull request Sep 22, 2026
Critical fixes:
1. Copy non-.gz files to temp before chmod (Issue openshift#1 - MAJOR)
   - Previous code modified source file permissions
   - Now ALL files (both .gz and non-.gz) copied to temp
   - chmod only on temp copy, source preserved

2. Capture both Close() and Remove() errors (Issue openshift#3)
   - When Close() fails AND Remove() fails, report both
   - Clear error messages for debugging

3. Add copyFile() helper function
   - Copies file to temp with proper error handling
   - Named return for Close() error capture
   - Consistent with decompressGzipToFile pattern

Issue openshift#2 (TOCTOU race): Not addressed
- Acceptable risk: we're copying files, not modifying
- File changes between Stat and copy will fail safely
- No corruption risk since copy is read-only

All local binaries now have consistent handling:
- Both .gz and non-.gz copied to managed temp files
- Source files never modified
- All temp files tracked for cleanup
- All error paths handle cleanup properly

Addresses CodeRabbit review from 2026-09-22 07:26 AM.

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants