Skip to content

Commit

Permalink
Merge pull request #408 from portworx/pre-release-2.2.1
Browse files Browse the repository at this point in the history
Releasing px-central 2.2.1 chart
  • Loading branch information
diptiranjanpx authored Jul 22, 2022
2 parents f56366b + 6da5629 commit 81ce3a6
Show file tree
Hide file tree
Showing 66 changed files with 287 additions and 146 deletions.
4 changes: 2 additions & 2 deletions charts/px-central/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ keywords:
name: px-central
sources:
- https://github.com/portworx/helm/tree/master/charts/px-central
version: 2.2.0
appVersion: 2.2.0
version: 2.2.1
appVersion: 2.2.1
name: px-central
64 changes: 63 additions & 1 deletion charts/px-central/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ Parameter | Description | Default
`storkRequired` | Scheduler name as stork | `false`
`nodeAffinityLabel` | Label for node affinity for px-central components | `""`
`podAntiAffinity` | PodAntiAffinity will make sure pods are distributed | `false`
`useIPV6` | Enable IPv6 support for PX-Central | `false`
`pxcentralDBPassword` | PX-Central cluster store mysql database password | `Password1`
`caCertsSecretName` | Name of the Kubernetes Secret, which contains the CA Certificates. | `""`
`oidc` | Enable OIDC for PX-Central and PX-backup for RBAC | `""`
Expand All @@ -511,6 +512,8 @@ Parameter | Description | Default
`oidc.externalOIDC.endpoint` | External OIDC endpoint | `""`
`securityContext` | Security context for the pod | `{runAsUser: 1000, fsGroup: 1000, runAsNonRoot: true}`
`postInstallJob.sslEnabled` | k8s apis with ssl enabled in post-install-job pod | `true`
`service.pxCentralUIServiceType` | service type of PX-Central UI | `"LoadBalancer"`
`service.pxCentralUIServiceAnnotations` | annotations for PX-Central UI service | `"{}"`
`images.pullSecrets` | Image pull secrets | `docregistry-secret`
`images.pullPolicy` | Image pull policy | `Always`
`images.pxcentralApiServerImage.registry` | API server image registry | `docker.io`
Expand Down Expand Up @@ -561,6 +564,11 @@ Parameter | Description | Default
`images` | PX-Backup deployment images | `""`
`pxbackup.enabled` | Enabled PX-Backup | `false`
`pxbackup.orgName` | PX-Backup organization name | `default`
`pxbackup.mongoMigration` | flag for mongo migration while upgrading PX-Backup from 1.2.x to 2.x.x | `complete`
`persistentStorage.mongodbVolumeSize` | mongodb volume size | `"64Gi"`
`persistentStorage.mongoCacheSize` | mongodb cache size in GB | `"4"`
`service.pxBackupUIServiceType` | service type of PX-Backup UI | `"LoadBalancer"`
`service.pxBackupUIServiceAnnotations` | annotations for the PX-Backup UI service | `"{}"`
`images.pxBackupImage.registry` | PX-Backup image registry | `docker.io`
`images.pxBackupImage.repo` | PX-Backup image repo | `portworx`
`images.pxBackupImage.imageName` | PX-Backup image name | `px-backup`
Expand All @@ -587,14 +595,68 @@ Parameter | Description | Default
`clusterDomain` | Cluster domain | `cluster.local`
`cassandraUsername` | Cassandra cluster username | `cassandra`
`cassandraPassword` | Cassandra cluster password | `cassandra`
`cassandra.jvm.maxHeapSize` | Cassandra jvm maximum heap size | `""`
`cassandra.jvm.newHeapSize` | Cassandra jvm new heap size | `""`
`persistentStorage` | Persistent storage for all px-central px-monitor components | `""`
`persistentStorage.enabled` | Enable persistent storage | `false`
`persistentStorage.storageClassName` | Provide storage class name which exists | `""`
`persistentStorage.cassandra.storage` | Cassandra volumes size | `8Gi`
`persistentStorage.cassandra.storage` | Cassandra volumes size | `64Gi`
`persistentStorage.grafana.storage` | Grafana volumes size | `20Gi`
`persistentStorage.consul.storage` | Consul volumes size | `8Gi`
`persistentStorage.alertManager.storage` | AlertManager volume size | `2Gi`
`persistentStorage.ingester.storage` | ingester volume size | `2Gi`
`securityContext` | Security context for the pod | `{runAsUser: 1000, fsGroup: 1000, runAsNonRoot: true}`
`service.grafanaServiceType` | service type of grafana | `"NodePort"`
`service.cortexNginxServiceType` | service type of cortex nginx | `"NodePort"`
`images` | PX monitor stack images | ``
`images.cortexImage.registry` | PX-Monitor Cortex image registry | `docker.io`
`images.cortexImage.repo` | PX-Monitor Cortex image repo | `portworx`
`images.cortexImage.imageName` | PX-Monitor Cortex image name | `cortex`
`images.cortexImage.tag` | PX-Monitor Cortex image tag | `v1.11.1`
`images.cassandraImage.registry` | PX-Monitor cassandra image registry | `docker.io`
`images.cassandraImage.repo` | PX-Monitor cassandra image repo | `portworx`
`images.cassandraImage.imageName` | PX-Monitor cassandra image name | `cassandra`
`images.cassandraImage.tag` | PX-Monitor cassandra image tag | `4.0.4-debian-11-r0`
`images.proxyConfigImage.registry` | PX-Monitor proxy config image registry | `docker.io`
`images.proxyConfigImage.repo` | PX-Monitor proxy config image repo | `portworx`
`images.proxyConfigImage.imageName` | PX-Monitor proxy config image name | `nginx`
`images.proxyConfigImage.tag` | PX-Monitor proxy config image tag | `1.22.0-alpine`
`images.consulImage.registry` | PX-Monitor Consul image registry | `docker.io`
`images.consulImage.repo` | PX-Monitor Consul image repo | `portworx`
`images.consulImage.imageName` | PX-Monitor Consul image name | `consul`
`images.consulImage.tag` | PX-Monitor Consul image tag | `1.12.2-debian-11-r0`
`images.dnsmasqImage.registry` | PX-Monitor dnsmasq image registry | `docker.io`
`images.dnsmasqImage.repo` | PX-Monitor dnsmasq image repo | `portworx`
`images.dnsmasqImage.imageName` | PX-Monitor dnsmasq image name | `go-dnsmasq`
`images.dnsmasqImage.tag` | PX-Monitor dnsmasq image tag | `release-1.0.7-v2`
`images.grafanaImage.registry` | PX-Monitor grafana image registry | `docker.io`
`images.grafanaImage.repo` | PX-Monitor grafana image repo | `portworx`
`images.grafanaImage.imageName` | PX-Monitor grafana image name | `grafana`
`images.grafanaImage.tag` | PX-Monitor grafana image tag | `8.5.3`
`images.prometheusImage.registry` | PX-Monitor prometheus image registry | `docker.io`
`images.prometheusImage.repo` | PX-Monitor prometheus image repo | `portworx`
`images.prometheusImage.imageName` | PX-Monitor prometheus image name | `prometheus`
`images.prometheusImage.tag` | PX-Monitor prometheus image tag | `v2.35.0`
`images.prometheusConfigReloadrImage.registry` | PX-Monitor prometheus config reloader image registry | `docker.io`
`images.prometheusConfigReloadrImage.repo` | PX-Monitor prometheus config reloader image repo | `portworx`
`images.prometheusConfigReloadrImage.imageName` | PX-Monitor prometheus config reloader image name | `prometheus-config-reloader`
`images.prometheusConfigReloadrImage.tag` | PX-Monitor prometheus config reloader image tag | `v0.56.3`
`images.prometheusOperatorImage.registry` | PX-Monitor prometheus operator image registry | `docker.io`
`images.prometheusOperatorImage.repo` | PX-Monitor prometheus operator image repo | `portworx`
`images.prometheusOperatorImage.imageName` | PX-Monitor prometheus operator image name | `prometheus-operator`
`images.prometheusOperatorImage.tag` | PX-Monitor prometheus operator image tag | `v0.56.3`
`images.memcachedMetricsImage.registry` | PX-Monitor memcached metrics image registry | `docker.io`
`images.memcachedMetricsImage.repo` | PX-Monitor memcached metrics image repo | `portworx`
`images.memcachedMetricsImage.imageName` | PX-Monitor memcached metrics image name | `memcached-exporter`
`images.memcachedMetricsImage.tag` | PX-Monitor memcached metrics image tag | `v0.9.0`
`images.memcachedIndexImage.registry` | PX-Monitor memcached index image registry | `docker.io`
`images.memcachedIndexImage.repo` | PX-Monitor memcached index image repo | `portworx`
`images.memcachedIndexImage.imageName` | PX-Monitor memcached index image name | `memcached`
`images.memcachedIndexImage.tag` | PX-Monitor memcached index image tag | `1.6.15-alpine`
`images.memcachedImage.registry` | PX-Monitor memcached image registry | `docker.io`
`images.memcachedImage.repo` | PX-Monitor memcached image repo | `portworx`
`images.memcachedImage.imageName` | PX-Monitor memcached image name | `memcached`
`images.memcachedImage.tag` | PX-Monitor memcached image tag | `1.6.15-alpine`
`images.pullSecrets` | Image pull secret | `docregistry-secret`
`images.pullPolicy` | Image pull policy | `Always`

Expand Down
15 changes: 13 additions & 2 deletions charts/px-central/templates/px-backup/pxcentral-mongodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ spec:
values:
- "false"
{{- end }}
{{- if eq .Values.podAntiAffinity true }}
podAntiAffinity:
{{- if eq .Values.podAntiAffinity true }}
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
Expand All @@ -129,7 +129,18 @@ spec:
values:
- pxc-backup-mongodb
topologyKey: kubernetes.io/hostname
{{- end }}
{{- else }}
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/component
operator: In
values:
- pxc-backup-mongodb
topologyKey: kubernetes.io/hostname
{{- end }}
{{- if eq .Values.storkRequired true }}
schedulerName: stork
{{- end }}
Expand Down
12 changes: 7 additions & 5 deletions charts/px-central/templates/px-license-server/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,13 @@ spec:
- name: pxcentral-license-server
image: {{ printf "%s/%s/%s:%s" .Values.images.licenseServerImage.registry .Values.images.licenseServerImage.repo .Values.images.licenseServerImage.imageName .Values.images.licenseServerImage.tag }}
imagePullPolicy: {{ .Values.images.pullPolicy }}
{{- if eq $UATLSType true }}
args: [ "--UAT" ]
{{- else if eq $AirgappedLSType true }}
args: [ "--air-gapped" ]
{{- end }}
args:
{{- if eq $UATLSType true }}
- --UAT
{{- end}}
{{- if eq $AirgappedLSType true }}
- --air-gapped
{{- end }}
securityContext:
privileged: true
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ data:
server {
listen 8080;
server_name localhost;
server_tokens off;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
Expand Down
17 changes: 15 additions & 2 deletions charts/px-central/templates/px-monitor/cortex/cortex-backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ spec:
values:
- "false"
{{- end }}
{{- if eq .Values.podAntiAffinity true }}
podAntiAffinity:
{{- if eq .Values.podAntiAffinity true }}
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
Expand All @@ -123,7 +123,18 @@ spec:
values:
- cassandra
topologyKey: kubernetes.io/hostname
{{- end }}
{{- else }}
preferredDuringSchedulingIgnoredDuringExecution:
- weight: 100
podAffinityTerm:
labelSelector:
matchExpressions:
- key: app
operator: In
values:
- cassandra
topologyKey: kubernetes.io/hostname
{{- end }}
{{- if $isOpenshiftCluster}}
{{- else }}
securityContext:
Expand Down Expand Up @@ -178,6 +189,8 @@ spec:
value: rack1
- name: CASSANDRA_ENABLE_RPC
value: "true"
- name: JVM_EXTRA_OPTS
value: "-Dcassandra.ignore_corrupted_schema_tables=true"
{{- if .Values.cassandra.jvm.maxHeapSize }}
- name: MAX_HEAP_SIZE
value: {{ .Values.cassandra.jvm.maxHeapSize}}
Expand Down
Loading

0 comments on commit 81ce3a6

Please sign in to comment.