forked from suse-edge/Factory
moved charts/images
This commit is contained in:
13
upgrade-controller-chart/Chart.yaml
Normal file
13
upgrade-controller-chart/Chart.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:0.1.0
|
||||
#!BuildTag: %%IMG_PREFIX%%upgrade-controller-chart:0.1.0-%RELEASE%
|
||||
apiVersion: v2
|
||||
appVersion: 0.1.0
|
||||
dependencies:
|
||||
- condition: crds.enabled
|
||||
name: lifecycle-crds
|
||||
repository: file://./charts/lifecycle-crds
|
||||
version: 0.1.0
|
||||
description: A Helm chart for Upgrade Controller
|
||||
name: upgrade-controller
|
||||
type: application
|
||||
version: 0.1.0
|
16
upgrade-controller-chart/_service
Normal file
16
upgrade-controller-chart/_service
Normal file
@@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service mode="buildtime" name="kiwi_metainfo_helper"/>
|
||||
<service name="replace_using_env" mode="buildtime">
|
||||
<param name="file">values.yaml</param>
|
||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix)</param>
|
||||
<param name="var">IMG_PREFIX</param>
|
||||
<param name="eval">IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo)</param>
|
||||
<param name="var">IMG_REPO</param>
|
||||
</service>
|
||||
<service name="replace_using_env" mode="buildtime">
|
||||
<param name="file">Chart.yaml</param>
|
||||
<param name="eval">IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix)</param>
|
||||
<param name="var">IMG_PREFIX</param>
|
||||
</service>
|
||||
</services>
|
||||
|
BIN
upgrade-controller-chart/charts.obscpio
Normal file
BIN
upgrade-controller-chart/charts.obscpio
Normal file
Binary file not shown.
BIN
upgrade-controller-chart/templates.obscpio
Normal file
BIN
upgrade-controller-chart/templates.obscpio
Normal file
Binary file not shown.
91
upgrade-controller-chart/values.yaml
Normal file
91
upgrade-controller-chart/values.yaml
Normal file
@@ -0,0 +1,91 @@
|
||||
# Default values for upgrade-controller.
|
||||
# This is a YAML-formatted file.
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: %%IMG_REPO%%/%%IMG_PREFIX%%upgrade-controller
|
||||
pullPolicy: IfNotPresent
|
||||
# Overrides the image tag whose default is the chart appVersion.
|
||||
tag: ""
|
||||
|
||||
env:
|
||||
releaseManifest:
|
||||
image: %%IMG_REPO%%/%%IMG_PREFIX%%release-manifest
|
||||
kubectl:
|
||||
image: %%IMG_REPO%%/%%IMG_PREFIX%%kubectl
|
||||
version: 1.30.3
|
||||
|
||||
imagePullSecrets: []
|
||||
nameOverride: ""
|
||||
fullnameOverride: ""
|
||||
|
||||
serviceAccount:
|
||||
# Specifies whether a service account should be created
|
||||
create: true
|
||||
# Automatically mount a ServiceAccount's API credentials?
|
||||
automount: true
|
||||
# Annotations to add to the service account
|
||||
annotations: {}
|
||||
# The name of the service account to use.
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name: ""
|
||||
|
||||
podAnnotations: {}
|
||||
podLabels: {}
|
||||
|
||||
podSecurityContext:
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
allowPrivilegeEscalation: false
|
||||
|
||||
webhookService:
|
||||
name: webhook-server
|
||||
type: ClusterIP
|
||||
port: 443
|
||||
targetPort: 9443
|
||||
|
||||
resources: {}
|
||||
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: 8081
|
||||
initialDelaySeconds: 15
|
||||
periodSeconds: 20
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /readyz
|
||||
port: 8081
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 10
|
||||
|
||||
# Always keep the cert volume first in case others are appended
|
||||
# or adjust the certificate resources lookup.
|
||||
volumes:
|
||||
- name: cert
|
||||
secret:
|
||||
secretName: webhook-server-cert
|
||||
defaultMode: 420
|
||||
optional: false
|
||||
|
||||
volumeMounts:
|
||||
- name: cert
|
||||
mountPath: "/tmp/k8s-webhook-server/serving-certs"
|
||||
readOnly: true
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
affinity: {}
|
||||
|
||||
crds:
|
||||
enabled: true
|
Reference in New Issue
Block a user