Skip to content

Run DocumentDB as uid/gid 1000 - #1166

Merged
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-docdb-uid
Sep 5, 2026
Merged

Run DocumentDB as uid/gid 1000#1166
ArnobKumarSaha merged 1 commit into
masterfrom
arnob-docdb-uid

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

The documentdb-local image declares documentdb:x:1000:1000 with /home/documentdb as drwx------ 1000:1000, so uid 999 cannot traverse it and the gateway entrypoint fails with "Permission denied". The pod stays Running 2/2 while nothing listens on 9712/10260, leaving the DocumentDB stuck in Provisioning with DatabaseNotAcceptingConnectionRequest.

Align the editor options chart with DocumentDBVersion.spec.securityContext and the KubeDB webhook defaults, and update the matching entry in the restoresession runAsUser map.

The documentdb-local image declares documentdb:x:1000:1000 with
/home/documentdb as drwx------ 1000:1000, so uid 999 cannot traverse it
and the gateway entrypoint fails with "Permission denied". The pod stays
Running 2/2 while nothing listens on 9712/10260, leaving the DocumentDB
stuck in Provisioning with DatabaseNotAcceptingConnectionRequest.

Align the editor options chart with DocumentDBVersion.spec.securityContext
and the KubeDB webhook defaults, and update the matching entry in the
restoresession runAsUser map.

Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
@ArnobKumarSaha
ArnobKumarSaha merged commit 2aadd83 into master Sep 5, 2026
4 checks passed
@ArnobKumarSaha
ArnobKumarSaha deleted the arnob-docdb-uid branch September 5, 2026 06:18
ArnobKumarSaha added a commit that referenced this pull request Sep 5, 2026
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
ArnobKumarSaha added a commit that referenced this pull request Sep 7, 2026
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
ArnobKumarSaha added a commit that referenced this pull request Sep 7, 2026
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
Shofiqur-052 pushed a commit that referenced this pull request Sep 7, 2026
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
Signed-off-by: shofiq <shofiq@appscode.com>
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.

1 participant