From c16145c3e37e04107d76a74d14827589cc9cd140 Mon Sep 17 00:00:00 2001 From: Xstar97 Date: Tue, 9 Aug 2022 06:22:11 -0400 Subject: [PATCH] fix(rickroll): Add rickroll images and network (#3400) * fix(rickroll): Add rickroll images and network * add ci tests and missing sections * update images * update digest Co-authored-by: Stavros kois Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com> Co-authored-by: Kjeld Schouten-Lebbing --- .../incubator/rickroll/ci/basic-values.yaml | 0 charts/incubator/rickroll/ci/fhd-values.yaml | 1 + .../incubator/rickroll/ci/fhdgame-values.yaml | 1 + .../rickroll/ci/fhdonclick-values.yaml | 1 + .../incubator/rickroll/ci/onclick-values.yaml | 1 + charts/incubator/rickroll/questions.yaml | 64 ++++++++++++++++++- charts/incubator/rickroll/values.yaml | 47 +++++++++----- 7 files changed, 96 insertions(+), 19 deletions(-) create mode 100644 charts/incubator/rickroll/ci/basic-values.yaml create mode 100644 charts/incubator/rickroll/ci/fhd-values.yaml create mode 100644 charts/incubator/rickroll/ci/fhdgame-values.yaml create mode 100644 charts/incubator/rickroll/ci/fhdonclick-values.yaml create mode 100644 charts/incubator/rickroll/ci/onclick-values.yaml diff --git a/charts/incubator/rickroll/ci/basic-values.yaml b/charts/incubator/rickroll/ci/basic-values.yaml new file mode 100644 index 00000000000..e69de29bb2d diff --git a/charts/incubator/rickroll/ci/fhd-values.yaml b/charts/incubator/rickroll/ci/fhd-values.yaml new file mode 100644 index 00000000000..7d974674dd4 --- /dev/null +++ b/charts/incubator/rickroll/ci/fhd-values.yaml @@ -0,0 +1 @@ +imageSelector: "imagefhd" diff --git a/charts/incubator/rickroll/ci/fhdgame-values.yaml b/charts/incubator/rickroll/ci/fhdgame-values.yaml new file mode 100644 index 00000000000..965675f5f6a --- /dev/null +++ b/charts/incubator/rickroll/ci/fhdgame-values.yaml @@ -0,0 +1 @@ +imageSelector: "imagefhdgame" diff --git a/charts/incubator/rickroll/ci/fhdonclick-values.yaml b/charts/incubator/rickroll/ci/fhdonclick-values.yaml new file mode 100644 index 00000000000..ba25718dd39 --- /dev/null +++ b/charts/incubator/rickroll/ci/fhdonclick-values.yaml @@ -0,0 +1 @@ +imageSelector: "imagefhdonclick" diff --git a/charts/incubator/rickroll/ci/onclick-values.yaml b/charts/incubator/rickroll/ci/onclick-values.yaml new file mode 100644 index 00000000000..70310f903e2 --- /dev/null +++ b/charts/incubator/rickroll/ci/onclick-values.yaml @@ -0,0 +1 @@ +imageSelector: "imageonclick" diff --git a/charts/incubator/rickroll/questions.yaml b/charts/incubator/rickroll/questions.yaml index fbd27e97fcb..58fd1258e47 100644 --- a/charts/incubator/rickroll/questions.yaml +++ b/charts/incubator/rickroll/questions.yaml @@ -1,7 +1,26 @@ # Include{groups} -portals: {} +portals: + open: +# Include{portalLink} questions: # Include{global} + - variable: imageSelector + group: "Container Image" + label: "Select Image" + schema: + type: string + default: "image" + enum: + - value: "image" + description: "Auto starts, but muted | SD quality" + - value: "imagefhd" + description: "Auto starts, but muted | 1080p quality" + - value: "imagefhdgame" + description: "Lost the game onClick | 1080p quality" + - value: "imagefhdonclick" + description: "Uses an onClick method with a poster image | 1080p quality" + - value: "imagefhdonclick" + description: "Uses an onClick method with a poster image | SD quality" # Include{controller} # Include{controllerDeployment} # Include{replicas} @@ -9,11 +28,52 @@ questions: # Include{strategy} # Include{recreate} # Include{controllerExpert} +# Include{containerConfig} +# Include{serviceRoot} + - variable: main + label: "Main Service" + description: "The Primary service on which the healthcheck runs, often the webUI" + schema: + additional_attrs: true + type: dict + attrs: +# Include{serviceSelector} + - variable: main + label: "Main Service Port Configuration" + schema: + additional_attrs: true + type: dict + attrs: + - variable: port + label: "Port" + description: "This port exposes the container port on the service" + schema: + type: int + default: 10289 + required: true +# Include{advancedPortHTTP} + - variable: targetPort + label: "Target Port" + description: "The internal(!) port on the container the Application runs on" + schema: + type: int + default: 8080 # Include{serviceExpertRoot} default: false # Include{serviceExpert} # Include{serviceList} # Include{persistenceList} +# Include{ingressRoot} + - variable: main + label: "Main Ingress" + schema: + additional_attrs: true + type: dict + attrs: +# Include{ingressDefault} +# Include{ingressTLS} +# Include{ingressTraefik} +# Include{ingressExpert} # Include{ingressList} # Include{security} # Include{securityContextAdvancedRoot} @@ -47,7 +107,7 @@ questions: default: 0 - variable: runAsGroup label: "runAsGroup" - description: The groupID this App of the user running the application" + description: "The groupID this App of the user running the application" schema: type: int default: 0 diff --git a/charts/incubator/rickroll/values.yaml b/charts/incubator/rickroll/values.yaml index faf5b7d83e0..cdb9d3c2f37 100644 --- a/charts/incubator/rickroll/values.yaml +++ b/charts/incubator/rickroll/values.yaml @@ -1,28 +1,41 @@ -env: {} image: - pullPolicy: IfNotPresent repository: tccr.io/truecharts/rickroll - tag: latest@sha256:4b841b543e92dbca7d04d5d8af69c7e00b270a69bf42c5665060cd4ba6f5e4c6 -persistence: {} -podSecurityContext: - runAsGroup: 0 - runAsUser: 0 -probes: - liveness: - enabled: false - readiness: - enabled: false - startup: - enabled: false + pullPolicy: IfNotPresent + tag: latest@sha256:0dac223d148af2b858316ba3bd28466e35d91b724541420439170d2055c70148 +imagefhd: + repository: tccr.io/truecharts/rickroll-fhd + pullPolicy: IfNotPresent + tag: latest@sha256:e9fa8994f11ec9143ba3d8cff5e5ae454a069acf71e0f614dcbe12eb0b9fc541 +imagefhdgame: + repository: tccr.io/truecharts/rickroll-fhd-game + pullPolicy: IfNotPresent + tag: latest@sha256:6290d3022f6969ce64278aef10a8bf4ad84b2c4438f43d6fe4366862b250be9c +imagefhdonclick: + repository: tccr.io/truecharts/rickroll-fhd-onclick + pullPolicy: IfNotPresent + tag: latest@sha256:d99dba2a6f73426d6404d9ef3bdeeb2af4440d98f039f8614260aa7d7ecfeaa2 +imageonclick: + repository: tccr.io/truecharts/rickroll-onclick + pullPolicy: IfNotPresent + tag: latest@sha256:8b3c9444e7acaed9d8799dff317770cd549a4e12e0903f29eb2ba5c8d2c44f51 + +imageSelector: "image" + securityContext: readOnlyRootFilesystem: false runAsNonRoot: false + +podSecurityContext: + runAsGroup: 0 + runAsUser: 0 + service: main: - enabled: false ports: main: - enabled: false + protocol: HTTP + targetPort: 8080 + port: 10289 portal: - enabled: false + enabled: true