questions.yml 16 KB
Newer Older
Joe Mayer's avatar
Joe Mayer committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471
categories:
- repository
labels:
  io.rancher.certified: partner
questions:
- variable: defaultImage
  default: "true"
  description: "Use default Docker image"
  label: Use Default Image
  type: boolean
  show_subquestion_if: false
  group: "Container Images"
  subquestions:
  - variable: initContainerImage
    default: "alpine:3.6"
    description: "Init image name"
    type: string
    label: Init image name
  - variable: artifactory.image.repository
    default: "docker.bintray.io/jfrog/artifactory-pro"
    description: "Artifactory image name"
    type: string
    label: Artifactory Image Name
  - variable: artifactory.image.version
    default: "6.6.3"
    description: "Artifactory image tag"
    type: string
    label: Artifactory Image Tag
  - variable: nginx.image.repository
    default: "docker.bintray.io/jfrog/nginx-artifactory-pro"
    description: "Nginx image name"
    type: string
    label: Nginx Image Name
  - variable: nginx.image.version
    default: "6.6.3"
    description: "Nginx image tag"
    type: string
    label: Nginx Image Tag
  - variable: imagePullSecrets
    description: "Image Pull Secret"
    type: string
    label: Image Pull Secret

# Services and LoadBalancing Settings
- variable: ingress.enabled
  default: true
  description: "Expose app using Layer 7 Load Balancer - ingress"
  type: boolean
  label: Expose app using Layer 7 Load Balancer
  show_subquestion_if: true
  group: "Services and Load Balancing"
  required: true
  subquestions:
  - variable: ingress.hosts[0]
    default: "xip.io"
    description: "Hostname to your artifactory installation"
    type: hostname
    required: true
    label: Hostname

# Nginx Settings
- variable: nginx.enabled
  default: false
  description: "Enable nginx server"
  type: boolean
  label: Enable Nginx Server
  group: "Services and Load Balancing"
  required: true
  show_if: "ingress.enabled=false"
- variable: nginx.service.type
  default: "LoadBalancer"
  description: "Nginx service type"
  type: enum
  required: true
  label: Nginx Service Type
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
  options:
  - "ClusterIP"
  - "NodePort"
  - "LoadBalancer"
- variable: nginx.service.loadBalancerIP
  default: ""
  description: "Provide Static IP to configure with Nginx"
  type: string
  label: Config Nginx LoadBalancer IP
  show_if: "nginx.enabled=true&&nginx.service.type=LoadBalancer&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.tlsSecretName
  default: ""
  description: "Provide SSL Secret name to configure with Nginx"
  type: string
  label: Config Nginx SSL Secret
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.customArtifactoryConfigMap
  default: ""
  description: "Provide configMap name to configure Nginx with custom `artifactory.conf`"
  type: string
  label: ConfigMap for Nginx Artifactory Config
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.env.skipAutoConfigUpdate
  default: "false"
  description: "Skip Nginx Auto Configuration Update"
  type: string
  label: Skip Nginx Auto Configuration Update
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.persistence.enabled
  default: false
  description: "enable persistence storage for nginx server"
  type: boolean
  label: Enable Persistent Storage for Nginx Service
  group: "Services and Load Balancing"
  show_if: "nginx.enabled=true&&ingress.enabled=false"
- variable: nginx.persistence.size
  default: 5Gi
  description: "Nginx persistent volume size"
  type: string
  label: Nginx Persistent Volume Size
  group: "Services and Load Balancing"
  show_if: "nginx.enabled=true&&nginx.persistence.enabled=true&&ingress.enabled=false"
- variable: nginx.persistence.storageClass
  default: ""
  description: "If undefined or null, uses the default StorageClass. Default to null"
  type: storageclass
  label: Default StorageClass for Nginx
  show_if: "nginx.enabled=true&&nginx.persistence.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.resources.requests.cpu
  default: "200m"
  description: "Nginx initial cpu request"
  type: string
  label: Nginx Initial CPU Request
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.resources.requests.memory
  default: "500Mi"
  description: "Nginx initial memory request"
  type: string
  label: Nginx Initial Memory Request
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.resources.limits.cpu
  default: "1"
  description: "Nginx cpu limit"
  type: string
  label: Nginx CPU Limit
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"
- variable: nginx.resources.limits.memory
  default: "1Gi"
  description: "Nginx memory limit"
  type: string
  label: Nginx Memory Limit
  show_if: "nginx.enabled=true&&ingress.enabled=false"
  group: "Services and Load Balancing"

# Artifactory Storage Settings
- variable: artifactory.persistence.enabled
  default: true
  description: "enable persistence storage for Artifactory"
  type: boolean
  label: Enable Persistent Storage for Artifactory
  group: "Artifactory Storage"
  required: true
  show_subquestion_if: true
  subquestions: 
  - variable: artifactory.persistence.size
    default: "50Gi"
    description: "Artifactory persistent volume size"
    type: string
    label: Artifactory Persistent Volume Size
    required: true
  - variable: artifactory.persistence.type
    default: "file-system"
    description: "Artifactory persistent volume size"
    type: enum
    label: Artifactory Persistent Storage Type
    required: true
    options:
      - "file-system"
      - "nfs"
      - "google-storage"
      - "aws-s3"

#Storage Type Settings
- variable: artifactory.persistence.nfs.ip
  default: ""
  type: string
  group: "Artifactory Storage"
  label: NFS Server IP
  description: "NFS server IP"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=nfs"
- variable: artifactory.persistence.nfs.haDataMount
  default: "/data"
  type: string
  label: NFS Data Directory
  description: "NFS data directory"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=nfs"
- variable: artifactory.persistence.nfs.haBackupMount
  default: "/backup"
  type: string
  label: NFS Backup Directory
  description: "NFS backup directory"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=nfs"
- variable: artifactory.persistence.nfs.dataDir
  default: "/var/opt/jfrog/artifactory-ha"
  type: string
  label: HA Data Directory
  description: "HA data directory"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=nfs"
- variable: artifactory.persistence.nfs.backupDir
  default: "/var/opt/jfrog/artifactory-backup"
  type: string
  label: HA Backup Directory	
  description: "HA backup directory	"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=nfs"
- variable: artifactory.persistence.nfs.capacity
  default: "200Gi"
  type: string
  label: NFS PVC Size	
  description: "NFS PVC size	"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=nfs"

#Google storage settings
- variable: artifactory.persistence.googleStorage.bucketName
  default: "artifactory-ha-gcp"
  type: string
  label: Google Storage Bucket Name	
  description: "Google storage bucket name"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=google-storage"
- variable: artifactory.persistence.googleStorage.identity
  default: ""
  type: string
  label: Google Storage Service Account ID	
  description: "Google Storage service account id"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=google-storage"
- variable: artifactory.persistence.googleStorage.credential
  default: ""
  type: string
  label: Google Storage Service Account Key	
  description: "Google Storage service account key"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=google-storage"
- variable: artifactory.persistence.googleStorage.path
  default: "artifactory-ha/filestore"
  type: string
  label: Google Storage Path In Bucket	
  description: "Google Storage path in bucket"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=google-storage"
# awsS3 storage settings
- variable: artifactory.persistence.awsS3.bucketName
  default: "artifactory-ha-aws"
  type: string
  label: AWS S3 Bucket Name	
  description: "AWS S3 bucket name"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=aws-s3"
- variable: artifactory.persistence.awsS3.region
  default: ""
  type: string
  label: AWS S3 Bucket Region	
  description: "AWS S3 bucket region"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=aws-s3"
- variable: artifactory.persistence.awsS3.identity
  default: ""
  type: string
  label: AWS S3 AWS_ACCESS_KEY_ID
  description: "AWS S3 AWS_ACCESS_KEY_ID"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=aws-s3"
- variable: artifactory.persistence.awsS3.credential
  default: ""
  type: string
  label: AWS S3 AWS_SECRET_ACCESS_KEY	
  description: "AWS S3 AWS_SECRET_ACCESS_KEY"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=aws-s3"
- variable: artifactory.persistence.awsS3.path
  default: "artifactory-ha/filestore"
  type: string
  label: AWS S3 Path In Bucket	
  description: "AWS S3 path in bucket"
  group: "Artifactory Storage"
  show_if: "artifactory.persistence.enabled=true&&artifactory.persistence.type=aws-s3"

# Database Settings
- variable: postgresql.enabled
  default: true
  description: "Enable PostgreSQL"
  type: boolean
  required: true
  label: Enable PostgreSQL
  group: "Database Settings"
  show_subquestion_if: "true"
  subquestions:
  - variable: postgresql.persistence.enabled
    default: false
    description: "enable persistence storage for PostgreSQL"
    type: boolean
    label: Enable Persistent Storage for PostgreSQL
  - variable: postgresql.persistence.size
    default: 20Gi
    description: "PostgreSQL persistent volume size"
    type: string
    label: PostgreSQL Persistent Volume Size
    show_if: "postgresql.enabled=true&&postgresql.persistence.enabled=true"
  - variable: postgresql.persistence.storageClass
    default: ""
    description: "If undefined or null, uses the default StorageClass. Default to null"
    type: storageclass
    label: Default StorageClass for PostgreSQL
    show_if: "postgresql.enabled=true&&postgresql.persistence.enabled=true"
  - variable: postgresql.resources.requests.cpu
    default: "200m"
    description: "PostgreSQL initial cpu request"
    type: string
    label: PostgreSQL Initial CPU Request
    show_if: "postgresql.enabled=true"
  - variable: postgresql.resources.requests.memory
    default: "500Mi"
    description: "PostgreSQL initial memory request"
    type: string
    label: PostgreSQL Initial Memory Request
    show_if: "postgresql.enabled=true"
  - variable: postgresql.resources.limits.cpu
    default: "1"
    description: "PostgreSQL cpu limit"
    type: string
    label: PostgreSQL CPU Limit
    show_if: "postgresql.enabled=true"
  - variable: postgresql.resources.limits.memory
    default: "1Gi"
    description: "PostgreSQL memory limit"
    type: string
    label: PostgreSQL Memory Limit
    show_if: "postgresql.enabled=true"
- variable: database.type
  default: "postgresql"
  description: "xternal database type (postgresql, mysql, oracle or mssql)"
  type: enum
  required: true
  label: External Database Type
  group: "Database Settings"
  show_if: "postgresql.enabled=false"
  options:
    - "postgresql"
    - "mysql"
    - "oracle"
    - "mssql"
- variable: database.url
  default: ""
  description: "External database URL. If you set the url, leave host and port empty"
  type: string
  label: External Database URL
  group: "Database Settings"
  show_if: "postgresql.enabled=false"
- variable: database.host
  default: ""
  description: "External database hostname"
  type: string
  label: External Database Hostname
  group: "Database Settings"
  show_if: "postgresql.enabled=false"
- variable: database.port
  default: ""
  description: "External database port"
  type: string
  label: External Database Port
  group: "Database Settings"
  show_if: "postgresql.enabled=false"
- variable: database.user
  default: ""
  description: "External database username"
  type: string
  label: External Database Username
  group: "Database Settings"
  show_if: "postgresql.enabled=false"
- variable: database.password
  default: ""
  description: "External database password"
  type: string
  label: External Database Password
  group: "Database Settings"
  show_if: "postgresql.enabled=false"

# Advance Settings
- variable: advancedOptions
  default: false
  description: "Show advanced configurations"
  label: Show Advanced Configurations
  type: boolean
  show_subquestion_if: true
  group: "Advanced Options"
  subquestions:
  - variable: artifactory.masterKey
    default: "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"
    description: "Artifactory master key"
    type: string
    label: Artifactory master key
  - variable: artifactory.primary.resources.requests.cpu
    default: "500m"
    description: "Artifactory primary node initial cpu request"
    type: string
    label: Artifactory Primary Node Initial CPU Request
  - variable: artifactory.primary.resources.requests.memory
    default: "1Gi"
    description: "Artifactory primary node initial memory request"
    type: string
    label: Artifactory Primary Node Initial Memory Request
  - variable: artifactory.primary.javaOpts.xms
    default: "1g"
    description: "Artifactory primary node java Xms size"
    type: string
    label: Artifactory Primary Node Java Xms Size
  - variable: artifactory.primary.resources.limits.cpu
    default: "2"
    description: "Artifactory primary node cpu limit"
    type: string
    label: Artifactory Primary Node CPU Limit
  - variable: artifactory.primary.resources.limits.memory
    default: "4Gi"
    description: "Artifactory primary node memory limit"
    type: string
    label: Artifactory Primary Node Memory Limit
  - variable: artifactory.primary.javaOpts.xmx
    default: "4g"
    description: "Artifactory primary node java Xmx size"
    type: string
    label: Artifactory Primary Node Java Xmx Size
  - variable: artifactory.node.resources.requests.cpu
    default: "500m"
    description: "Artifactory member node initial cpu request"
    type: string
    label: Artifactory Member Node Initial CPU Request
  - variable: artifactory.node.resources.requests.memory
    default: "2Gi"
    description: "Artifactory member node initial memory request"
    type: string
    label: Artifactory Member Node Initial Memory Request
  - variable: artifactory.node.javaOpts.xms
    default: "1g"
    description: "Artifactory member node java Xms size"
    type: string
    label: Artifactory Member Node Java Xms Size
  - variable: artifactory.node.resources.limits.cpu
    default: "2"
    description: "Artifactory member node cpu limit"
    type: string
    label: Artifactory Member Node CPU Limit
  - variable: artifactory.node.resources.limits.memory
    default: "4Gi"
    description: "Artifactory member node memory limit"
    type: string
    label: Artifactory Member Node Memory Limit
  - variable: artifactory.node.javaOpts.xmx
    default: "4g"
    description: "Artifactory member node java Xmx size"
    type: string
    label: Artifactory Member Node Java Xmx Size