Skip to content

Commit

Permalink
Remove Google Analytics (#215)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Nov 24, 2021
1 parent bcbb9ea commit d35bb37
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 24 deletions.
6 changes: 2 additions & 4 deletions apis/installer/v1alpha1/stash_community_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ type StashCommunitySpec struct {
PodSecurityContext *core.PodSecurityContext `json:"podSecurityContext"`
ServiceAccount ServiceAccountSpec `json:"serviceAccount"`
Apiserver WebHookSpec `json:"apiserver"`
//+optional
EnableAnalytics bool `json:"enableAnalytics"`
Monitoring Monitoring `json:"monitoring"`
Security SecuritySpec `json:"security"`
Monitoring Monitoring `json:"monitoring"`
Security SecuritySpec `json:"security"`
//+optional
Platform Platform `json:"platform"`
// +optional
Expand Down
6 changes: 2 additions & 4 deletions apis/installer/v1alpha1/stash_enterprise_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ type StashEnterpriseSpec struct {
PodSecurityContext *core.PodSecurityContext `json:"podSecurityContext"`
ServiceAccount ServiceAccountSpec `json:"serviceAccount"`
Apiserver WebHookSpec `json:"apiserver"`
//+optional
EnableAnalytics bool `json:"enableAnalytics"`
Monitoring Monitoring `json:"monitoring"`
Security SecuritySpec `json:"security"`
Monitoring Monitoring `json:"monitoring"`
Security SecuritySpec `json:"security"`
//+optional
Platform Platform `json:"platform"`
//+optional
Expand Down
1 change: 0 additions & 1 deletion charts/stash-community/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ The following table lists the configurable parameters of the `stash-community` c
| apiserver.servingCerts.caCrt | CA certficate used by serving certificate of webhook server. | `""` |
| apiserver.servingCerts.serverCrt | Serving certficate used by webhook server. | `""` |
| apiserver.servingCerts.serverKey | Private key for the serving certificate used by webhook server. | `""` |
| enableAnalytics | If true, sends usage analytics | `true` |
| monitoring.agent | Name of monitoring agent (either "prometheus.io/operator" or "prometheus.io/builtin") | `"none"` |
| monitoring.backup | Specify whether to monitor Stash backup and recovery | `false` |
| monitoring.operator | Specify whether to monitor Stash operator | `false` |
Expand Down
1 change: 0 additions & 1 deletion charts/stash-community/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ spec:
- --enable-validating-webhook={{ .Values.apiserver.enableValidatingWebhook }}
- --bypass-validating-webhook-xray={{ .Values.apiserver.bypassValidatingWebhookXray }}
- --use-kubeapiserver-fqdn-for-aks={{ .Values.apiserver.useKubeapiserverFqdnForAks }}
- --enable-analytics={{ .Values.enableAnalytics }}
- --cron-job-psp={{ .Values.security.podSecurityPolicies | join "," }}
- --backup-job-psp={{ .Values.security.podSecurityPolicies | join "," }}
- --restore-job-psp={{ .Values.security.podSecurityPolicies | join "," }}
Expand Down
2 changes: 0 additions & 2 deletions charts/stash-community/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,6 @@ properties:
type: object
criticalAddon:
type: boolean
enableAnalytics:
type: boolean
fullnameOverride:
type: string
imagePullPolicy:
Expand Down
2 changes: 0 additions & 2 deletions charts/stash-community/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ apiserver:
serverCrt: ""
# Private key for the serving certificate used by webhook server.
serverKey: ""
# If true, sends usage analytics
enableAnalytics: true
monitoring:
# Name of monitoring agent (either "prometheus.io/operator" or "prometheus.io/builtin")
agent: "none"
Expand Down
1 change: 0 additions & 1 deletion charts/stash-enterprise/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ The following table lists the configurable parameters of the `stash-enterprise`
| apiserver.servingCerts.caCrt | CA certficate used by serving certificate of webhook server. | `""` |
| apiserver.servingCerts.serverCrt | Serving certficate used by webhook server. | `""` |
| apiserver.servingCerts.serverKey | Private key for the serving certificate used by webhook server. | `""` |
| enableAnalytics | If true, sends usage analytics | `true` |
| monitoring.agent | Name of monitoring agent (either "prometheus.io/operator" or "prometheus.io/builtin") | `"none"` |
| monitoring.backup | Specify whether to monitor Stash backup and recovery | `false` |
| monitoring.operator | Specify whether to monitor Stash operator | `false` |
Expand Down
1 change: 0 additions & 1 deletion charts/stash-enterprise/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ spec:
- --enable-validating-webhook={{ .Values.apiserver.enableValidatingWebhook }}
- --bypass-validating-webhook-xray={{ .Values.apiserver.bypassValidatingWebhookXray }}
- --use-kubeapiserver-fqdn-for-aks={{ .Values.apiserver.useKubeapiserverFqdnForAks }}
- --enable-analytics={{ .Values.enableAnalytics }}
- --cron-job-psp={{ .Values.security.podSecurityPolicies | join "," }}
- --backup-job-psp={{ .Values.security.podSecurityPolicies | join "," }}
- --restore-job-psp={{ .Values.security.podSecurityPolicies | join "," }}
Expand Down
2 changes: 0 additions & 2 deletions charts/stash-enterprise/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,6 @@ properties:
type: object
criticalAddon:
type: boolean
enableAnalytics:
type: boolean
fullnameOverride:
type: string
imagePullPolicy:
Expand Down
2 changes: 0 additions & 2 deletions charts/stash-enterprise/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ apiserver:
serverCrt: ""
# Private key for the serving certificate used by webhook server.
serverKey: ""
# If true, sends usage analytics
enableAnalytics: true
monitoring:
# Name of monitoring agent (either "prometheus.io/operator" or "prometheus.io/builtin")
agent: "none"
Expand Down
4 changes: 0 additions & 4 deletions charts/stash/values.openapiv3_schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1117,8 +1117,6 @@ properties:
type: object
criticalAddon:
type: boolean
enableAnalytics:
type: boolean
fullnameOverride:
type: string
imagePullPolicy:
Expand Down Expand Up @@ -2592,8 +2590,6 @@ properties:
type: object
criticalAddon:
type: boolean
enableAnalytics:
type: boolean
fullnameOverride:
type: string
imagePullPolicy:
Expand Down

0 comments on commit d35bb37

Please sign in to comment.