Skip to content

feat(STIG compliance): adds extraArgs for apiServer, controllerManager, and scheduler#1487

Draft
atulv7 wants to merge 1 commit intomainfrom
atul/stig-compliance
Draft

feat(STIG compliance): adds extraArgs for apiServer, controllerManager, and scheduler#1487
atulv7 wants to merge 1 commit intomainfrom
atul/stig-compliance

Conversation

@atulv7
Copy link
Contributor

@atulv7 atulv7 commented Feb 17, 2026

What problem does this PR solve?:

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Special notes for your reviewer:

@atulv7 atulv7 self-assigned this Feb 17, 2026
apiServer.ExtraArgs["audit-log-maxsize"] = "100" // Maximum size of log file in MB before it is rotated.
apiServer.ExtraArgs["audit-log-compress"] = "true" // Compress (gzip) audit log file when it is rotated.
apiServer.ExtraArgs["audit-policy-file"] = auditPolicyPath
apiServer.ExtraArgs["tls-cipher-suites"] = strings.Join(
Copy link
Contributor

Choose a reason for hiding this comment

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

This is being set in

tls-cipher-suites: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

if controllerManager.ExtraArgs == nil {
controllerManager.ExtraArgs = make(map[string]string, 2)
}
controllerManager.ExtraArgs["profiling"] = "false"
Copy link
Contributor

Choose a reason for hiding this comment

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

This is already set in

controllerManager:
extraArgs:
cloud-provider: external
profiling: "false"
terminated-pod-gc-threshold: "10000"
tls-cipher-suites: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
scheduler:
extraArgs:
profiling: "false"
tls-cipher-suites: TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256

controllerManager.ExtraArgs = make(map[string]string, 2)
}
controllerManager.ExtraArgs["profiling"] = "false"
controllerManager.ExtraArgs["tls-min-version"] = "VersionTLS12"
Copy link
Contributor

Choose a reason for hiding this comment

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

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.

2 participants