Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: git-hubby
description: Helm chart for the git-hubby Kubernetes operator — manage GitHub resources declaratively via CRDs
type: application
version: 0.0.1
appVersion: "0.11.5"
appVersion: "0.11.10"
home: https://github.com/Interhyp/git-hubby-helm
sources:
- https://github.com/Interhyp/git-hubby-helm
Expand Down
24 changes: 18 additions & 6 deletions crds/github.interhyp.de_codesecurityconfigurations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ spec:
- "secret_protection": Enable secret protection features only
Warning: code_security and secret_protection are deprecated values for this field.
Prefer the individual code_security and secret_protection fields to set the status of these features.
Must not be set together with CodeSecurity or SecretProtection (rejected by GitHub).
See: https://docs.github.com/en/get-started/learning-about-github/about-github-advanced-security
enum:
- enabled
Expand Down Expand Up @@ -99,8 +100,11 @@ spec:
- not_set
type: string
codeScanningOptions:
description: CodeScanningOptions configures advanced code scanning
options.
description: |-
CodeScanningOptions configures advanced code scanning options.
Only applies if CodeScanningDefaultSetup is enabled ("Enabled with advanced setup allowed" in the GitHub UI).
GitHub does not return these options otherwise, so they are only compared with GitHub if
CodeScanningDefaultSetup is enabled.
properties:
allowAdvanced:
description: |-
Expand All @@ -109,8 +113,10 @@ spec:
type: boolean
type: object
codeSecurity:
description: CodeSecurity is a meta-setting that enables multiple
code security features.
description: |-
CodeSecurity is a meta-setting that enables multiple code security features.
GitHub does not return this field; it is compared with the combined AdvancedSecurity value returned by GitHub
(enabled, code_security, secret_protection or disabled). not_set is treated as disabled.
enum:
- enabled
- disabled
Expand Down Expand Up @@ -207,8 +213,10 @@ spec:
- not_set
type: string
secretProtection:
description: SecretProtection is a meta-setting that enables multiple
secret protection features.
description: |-
SecretProtection is a meta-setting that enables multiple secret protection features.
GitHub does not return this field; it is compared with the combined AdvancedSecurity value returned by GitHub
(enabled, code_security, secret_protection or disabled). not_set is treated as disabled.
enum:
- enabled
- disabled
Expand Down Expand Up @@ -332,6 +340,10 @@ spec:
- description
- name
type: object
x-kubernetes-validations:
- message: advancedSecurity must not be set together with codeSecurity
or secretProtection
rule: '!has(self.advancedSecurity) || (!has(self.codeSecurity) && !has(self.secretProtection))'
status:
description: status defines the observed state of CodeSecurityConfiguration
properties:
Expand Down
Loading