Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system-charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
system-charts
Commits
dd05aa02
Commit
dd05aa02
authored
Jul 03, 2019
by
Guangbo Chen
Committed by
Craig Jellick
Jul 11, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update istio-init to manage istio CRDs
parent
0030defa
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
157 additions
and
21 deletions
+157
-21
Chart.yaml
charts/rancher-istio/0.0.2/Chart.yaml
+1
-1
clusterrole.yaml
...-istio/0.0.2/charts/istio-init/templates/clusterrole.yaml
+1
-1
job-crd-10.yaml
...r-istio/0.0.2/charts/istio-init/templates/job-crd-10.yaml
+36
-1
job-crd-11.yaml
...r-istio/0.0.2/charts/istio-init/templates/job-crd-11.yaml
+1
-1
job-crd-12.yaml
...r-istio/0.0.2/charts/istio-init/templates/job-crd-12.yaml
+35
-1
job-crd-certmanager-10.yaml
...2/charts/istio-init/templates/job-crd-certmanager-10.yaml
+36
-1
job-crd-certmanager-11.yaml
...2/charts/istio-init/templates/job-crd-certmanager-11.yaml
+38
-1
values.yaml
charts/rancher-istio/0.0.2/charts/istio-init/values.yaml
+1
-14
requirements.yaml
charts/rancher-istio/0.0.2/requirements.yaml
+3
-0
crd-certmanager.yaml
charts/rancher-istio/0.0.2/templates/crd-certmanager.yaml
+2
-0
crds.yaml
charts/rancher-istio/0.0.2/templates/crds.yaml
+0
-0
values.yaml
charts/rancher-istio/0.0.2/values.yaml
+3
-0
No files found.
charts/rancher-istio/0.0.2/Chart.yaml
View file @
dd05aa02
apiVersion
:
v1
apiVersion
:
v1
name
:
rancher-istio
name
:
rancher-istio
version
:
0.0.
1
version
:
0.0.
2
appVersion
:
1.2.0
appVersion
:
1.2.0
tillerVersion
:
"
>=2.7.2-0"
tillerVersion
:
"
>=2.7.2-0"
description
:
Helm chart for all istio components
description
:
Helm chart for all istio components
...
...
charts/rancher-istio/0.0.2/charts/istio-init/templates/clusterrole.yaml
View file @
dd05aa02
...
@@ -8,4 +8,4 @@ metadata:
...
@@ -8,4 +8,4 @@ metadata:
rules
:
rules
:
-
apiGroups
:
[
"
apiextensions.k8s.io"
]
-
apiGroups
:
[
"
apiextensions.k8s.io"
]
resources
:
[
"
customresourcedefinitions"
]
resources
:
[
"
customresourcedefinitions"
]
verbs
:
[
"
create"
,
"
get"
,
"
list"
,
"
watch"
,
"
patch"
]
verbs
:
[
"
create"
,
"
get"
,
"
list"
,
"
watch"
,
"
patch"
,
"
delete"
]
charts/rancher-istio/0.0.2/charts/istio-init/templates/job-crd-10.yaml
View file @
dd05aa02
...
@@ -12,7 +12,7 @@ spec:
...
@@ -12,7 +12,7 @@ spec:
serviceAccountName
:
istio-init-service-account
serviceAccountName
:
istio-init-service-account
containers
:
containers
:
-
name
:
istio-init-crd-10
-
name
:
istio-init-crd-10
image
:
"
{{
.Values.global.hub
}}/kubectl:{{
.Values.globa
l.tag
}}"
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubect
l.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
volumeMounts
:
-
name
:
crd-10
-
name
:
crd-10
...
@@ -24,3 +24,37 @@ spec:
...
@@ -24,3 +24,37 @@ spec:
configMap
:
configMap
:
name
:
istio-crd-10
name
:
istio-crd-10
restartPolicy
:
OnFailure
restartPolicy
:
OnFailure
{{
- if .Values.deleteCRDs
}}
---
apiVersion
:
batch/v1
kind
:
Job
metadata
:
namespace
:
{{
.Release.Namespace
}}
name
:
istio-init-delete-crd-10
annotations
:
"
helm.sh/hook"
:
"
pre-delete"
"
helm.sh/hook-delete-policy"
:
"
hook-succeeded,
before-hook-creation"
spec
:
template
:
metadata
:
annotations
:
sidecar.istio.io/inject
:
"
false"
spec
:
serviceAccountName
:
istio-init-service-account
containers
:
-
name
:
istio-init-crd-10
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
-
name
:
crd-10
mountPath
:
/etc/istio/crd-10
readOnly
:
true
command
:
[
"
kubectl"
,
"
delete"
,
"
-f"
,
"
/etc/istio/crd-10/crd-10.yaml"
]
volumes
:
-
name
:
crd-10
configMap
:
name
:
istio-crd-10
restartPolicy
:
Never
backoffLimit
:
4
{{
- end
}}
\ No newline at end of file
charts/rancher-istio/0.0.2/charts/istio-init/templates/job-crd-11.yaml
View file @
dd05aa02
...
@@ -12,7 +12,7 @@ spec:
...
@@ -12,7 +12,7 @@ spec:
serviceAccountName
:
istio-init-service-account
serviceAccountName
:
istio-init-service-account
containers
:
containers
:
-
name
:
istio-init-crd-11
-
name
:
istio-init-crd-11
image
:
"
{{
.Values.global.hub
}}/kubectl:{{
.Values.globa
l.tag
}}"
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubect
l.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
volumeMounts
:
-
name
:
crd-11
-
name
:
crd-11
...
...
charts/rancher-istio/0.0.2/charts/istio-init/templates/job-crd-12.yaml
View file @
dd05aa02
...
@@ -12,7 +12,7 @@ spec:
...
@@ -12,7 +12,7 @@ spec:
serviceAccountName
:
istio-init-service-account
serviceAccountName
:
istio-init-service-account
containers
:
containers
:
-
name
:
istio-init-crd-12
-
name
:
istio-init-crd-12
image
:
"
{{
.Values.global.hub
}}/kubectl:{{
.Values.globa
l.tag
}}"
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubect
l.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
volumeMounts
:
-
name
:
crd-12
-
name
:
crd-12
...
@@ -24,3 +24,37 @@ spec:
...
@@ -24,3 +24,37 @@ spec:
configMap
:
configMap
:
name
:
istio-crd-12
name
:
istio-crd-12
restartPolicy
:
OnFailure
restartPolicy
:
OnFailure
{{
- if .Values.deleteCRDs
}}
---
apiVersion
:
batch/v1
kind
:
Job
metadata
:
namespace
:
{{
.Release.Namespace
}}
name
:
istio-init-delete-crd-12
annotations
:
"
helm.sh/hook"
:
"
pre-delete"
"
helm.sh/hook-delete-policy"
:
"
hook-succeeded,
before-hook-creation"
spec
:
template
:
metadata
:
annotations
:
sidecar.istio.io/inject
:
"
false"
spec
:
serviceAccountName
:
istio-init-service-account
containers
:
-
name
:
istio-init-crd-12
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
-
name
:
crd-12
mountPath
:
/etc/istio/crd-12
readOnly
:
true
command
:
[
"
kubectl"
,
"
delete"
,
"
-f"
,
"
/etc/istio/crd-12/crd-12.yaml"
]
volumes
:
-
name
:
crd-12
configMap
:
name
:
istio-crd-12
restartPolicy
:
Never
backoffLimit
:
4
{{
- end
}}
charts/rancher-istio/0.0.2/charts/istio-init/templates/job-crd-certmanager-10.yaml
View file @
dd05aa02
...
@@ -13,7 +13,7 @@ spec:
...
@@ -13,7 +13,7 @@ spec:
serviceAccountName
:
istio-init-service-account
serviceAccountName
:
istio-init-service-account
containers
:
containers
:
-
name
:
istio-init-crd-certmanager-10
-
name
:
istio-init-crd-certmanager-10
image
:
"
{{
.Values.global.hub
}}/kubectl:{{
.Values.globa
l.tag
}}"
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubect
l.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
volumeMounts
:
-
name
:
crd-certmanager-10
-
name
:
crd-certmanager-10
...
@@ -25,4 +25,39 @@ spec:
...
@@ -25,4 +25,39 @@ spec:
configMap
:
configMap
:
name
:
istio-crd-certmanager-10
name
:
istio-crd-certmanager-10
restartPolicy
:
OnFailure
restartPolicy
:
OnFailure
{{
- if .Values.deleteCRDs
}}
---
apiVersion
:
batch/v1
kind
:
Job
metadata
:
namespace
:
{{
.Release.Namespace
}}
name
:
istio-init-delete-crd-certmanager-10
annotations
:
"
helm.sh/hook"
:
"
pre-delete"
"
helm.sh/hook-delete-policy"
:
"
hook-succeeded,
before-hook-creation"
spec
:
template
:
metadata
:
annotations
:
sidecar.istio.io/inject
:
"
false"
spec
:
serviceAccountName
:
istio-init-service-account
containers
:
-
name
:
istio-init-crd-certmanager-10
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
-
name
:
crd-certmanager-10
mountPath
:
/etc/istio/crd-certmanager-10
readOnly
:
true
command
:
[
"
kubectl"
,
"
delete"
,
"
-f"
,
"
/etc/istio/crd-certmanager-10/crd-certmanager-10.yaml"
]
volumes
:
-
name
:
crd-certmanager-10
configMap
:
name
:
istio-crd-certmanager-10
restartPolicy
:
Never
backoffLimit
:
4
{{
- end
}}
{{
- end
}}
{{
- end
}}
charts/rancher-istio/0.0.2/charts/istio-init/templates/job-crd-certmanager-11.yaml
View file @
dd05aa02
...
@@ -13,7 +13,7 @@ spec:
...
@@ -13,7 +13,7 @@ spec:
serviceAccountName
:
istio-init-service-account
serviceAccountName
:
istio-init-service-account
containers
:
containers
:
-
name
:
istio-init-crd-certmanager-11
-
name
:
istio-init-crd-certmanager-11
image
:
"
{{
.Values.global.hub
}}/kubectl:{{
.Values.globa
l.tag
}}"
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubect
l.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
volumeMounts
:
-
name
:
crd-certmanager-11
-
name
:
crd-certmanager-11
...
@@ -25,4 +25,41 @@ spec:
...
@@ -25,4 +25,41 @@ spec:
configMap
:
configMap
:
name
:
istio-crd-certmanager-11
name
:
istio-crd-certmanager-11
restartPolicy
:
OnFailure
restartPolicy
:
OnFailure
{{
- if .Values.deleteCRDs
}}
---
apiVersion
:
batch/v1
kind
:
Job
metadata
:
namespace
:
{{
.Release.Namespace
}}
name
:
istio-init-delete-crd-certmanager-11
annotations
:
"
helm.sh/hook"
:
"
pre-delete"
"
helm.sh/hook-delete-policy"
:
"
hook-succeeded,
before-hook-creation"
spec
:
template
:
metadata
:
annotations
:
sidecar.istio.io/inject
:
"
false"
"
helm.sh/hook"
:
"
post-delete"
"
helm.sh/hook-weight"
:
"
-5"
"
helm.sh/hook-delete-policy"
:
hook-succeeded
spec
:
serviceAccountName
:
istio-init-service-account
containers
:
-
name
:
istio-init-crd-certmanager-11
image
:
"
{{
template
"system_default_registry" . }}{{ .Values.global.kubectl.repository }}:{{ .Values.global.kubectl.tag }}"
imagePullPolicy
:
{{
.Values.global.imagePullPolicy
}}
volumeMounts
:
-
name
:
crd-certmanager-11
mountPath
:
/etc/istio/crd-certmanager-11
readOnly
:
true
command
:
[
"
kubectl"
,
"
delete"
,
"
-f"
,
"
/etc/istio/crd-certmanager-11/crd-certmanager-11.yaml"
]
volumes
:
-
name
:
crd-certmanager-11
configMap
:
name
:
istio-crd-certmanager-11
restartPolicy
:
Never
backoffLimit
:
4
{{
- end
}}
{{
- end
}}
{{
- end
}}
charts/rancher-istio/0.0.2/charts/istio-init/values.yaml
View file @
dd05aa02
global
:
# Default hub for Istio images.
# Releases are published to docker hub under 'istio' project.
# Daily builds from prow are on gcr.io, and nightly builds from circle on docker.io/istionightly
hub
:
gcr.io/istio-release
# Default tag for Istio images.
tag
:
release-1.2-latest-daily
# imagePullPolicy is applied to istio control plane components.
# local tests require IfNotPresent, to avoid uploading to dockerhub.
# TODO: Switch to Always as default, and override in the local tests.
imagePullPolicy
:
IfNotPresent
certmanager
:
certmanager
:
enabled
:
false
enabled
:
false
deleteCRDs
:
true
charts/rancher-istio/0.0.2/requirements.yaml
View file @
dd05aa02
...
@@ -38,3 +38,6 @@ dependencies:
...
@@ -38,3 +38,6 @@ dependencies:
-
name
:
certmanager
-
name
:
certmanager
version
:
1.1.0
version
:
1.1.0
condition
:
certmanager.enabled
condition
:
certmanager.enabled
-
name
:
istio-init
version
:
1.1.0
condition
:
istio-init.enabled
charts/rancher-istio/0.0.2/templates/crd-certmanager.yaml
View file @
dd05aa02
{{
- if and .Values.enableCRDs .Values.certmanager.enabled
}}
{{
- if and .Values.enableCRDs .Values.certmanager.enabled
}}
{{
- if not (.Capabilities.APIVersions.Has "certmanager.k8s.io/v1alpha1")
}}
apiVersion
:
apiextensions.k8s.io/v1beta1
apiVersion
:
apiextensions.k8s.io/v1beta1
kind
:
CustomResourceDefinition
kind
:
CustomResourceDefinition
metadata
:
metadata
:
...
@@ -160,3 +161,4 @@ spec:
...
@@ -160,3 +161,4 @@ spec:
plural
:
challenges
plural
:
challenges
scope
:
Namespaced
scope
:
Namespaced
{{
- end
}}
{{
- end
}}
{{
- end
}}
charts/rancher-istio/0.0.2/templates/crds.yaml
View file @
dd05aa02
This diff is collapsed.
Click to expand it.
charts/rancher-istio/0.0.2/values.yaml
View file @
dd05aa02
...
@@ -10,6 +10,9 @@
...
@@ -10,6 +10,9 @@
#
#
enableCRDs
:
true
enableCRDs
:
true
istio-init
:
enable
:
true
#
#
# Gateways Configuration, refer to the charts/gateways/values.yaml
# Gateways Configuration, refer to the charts/gateways/values.yaml
# for detailed configuration
# for detailed configuration
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment