1
0
mirror of https://github.com/rancher/types.git synced 2025-07-31 04:49:37 +00:00
Commit Graph

1182 Commits

Author SHA1 Message Date
Murali Paluru
4a33ba02d2 go generate changes 2019-10-30 12:23:58 -07:00
Murali Paluru
75bc3cf3f8 rke types 2019-10-30 12:23:58 -07:00
moelsayed
0223867195 Override encryption types in schema 2019-10-29 13:45:50 -07:00
moelsayed
560c2dd3d9 generated code 2019-10-29 13:45:50 -07:00
moelsayed
23159e917f add secrets encryption types 2019-10-29 13:45:50 -07:00
Prachi Damle
50f60a68b2 DockerCredential support auth and email 2019-10-25 11:55:59 -07:00
gitlawr
94267a93a7 Add Istio gateway to Rancher API 2019-10-18 12:02:57 -07:00
gitlawr
c4c5ca1581 Update images 2019-10-16 19:26:42 -07:00
rmweir
3aed94a405 Update pipeline tools to 0.1.14 2019-10-03 10:47:37 -07:00
kinarashah
6bbedae77a go generate 2019-09-30 09:56:50 -07:00
kinarashah
e224aa2b01 local changes for prometheus-operator update 2019-09-30 09:56:50 -07:00
Frank Mai
67078805df Change the json-tag of WindowsPodInfraContainer in RKESystemImages
**Problem:**
On air-gapped, the private registry could not apply to the pause image
of Windows kubelet. It seems the decoding of mapstructure doesn't
respect the json tag of the struct definition:
0ba3fd34cc/pkg/controllers/management/clusterprovisioner/provisioner.go (L751-L764)

**Solution:**
Correct the json-tag
2019-09-23 09:54:40 -07:00
gitlawr
55dc8a6c48 Update pipeline tools to 0.1.13 for cli 2.3.0-rc7 2019-09-17 10:20:18 -07:00
Darren Shepherd
4cf2c20529 Update generated code 2019-09-16 09:30:52 -07:00
Darren Shepherd
828ddcd4b6 Add MetadataUpdates field 2019-09-16 09:30:52 -07:00
michelia feng
e280b8a142 generate code 2019-09-13 09:52:11 -07:00
michelia feng
79c7a790de Remove alerting and logging image from system tools types because they deploy by system-charts now
Problem:
system tools is include in rancher-image.txt generated image list, legacy code cause useless image in rancher-image.txt

Solution:
remove logging and alert from tools image in rancher

Issue:
https://github.com/rancher/rancher/issues/22816
2019-09-13 09:52:11 -07:00
kinarashah
86c01d27a8 add displayName to cloud credential and mapper changes for it 2019-09-11 15:16:59 -07:00
Caleb Bron
a46b77689b Add driver to nodePool schema 2019-08-30 15:00:28 -07:00
gitlawr
e09365c769 Make node annotation editable 2019-08-30 10:53:43 -07:00
Dan Ramich
3aced2bfa2 Update APIs being used 2019-08-29 16:50:15 -07:00
Dan Ramich
cad3af8a71 Generated changes 2019-08-29 16:50:15 -07:00
rmweir
3cf03f3072 Update jenkins server to v0.1.4 2019-08-29 14:50:33 -07:00
gitlawr
06419de6e3 Add SendResolved field to Notifier 2019-08-29 11:44:54 -07:00
rajashree
7046482445 Generated changes 2019-08-27 14:40:52 -07:00
rajashree
3608cf0da4 Add nodeSelector for RKE addons 2019-08-27 14:40:52 -07:00
gitlawr
2c26850836 Bump pipeine-tools to v0.1.12 2019-08-26 15:42:19 -07:00
rajashree
c0775cc536 Remove unused backups condition 2019-08-26 14:34:09 -07:00
moelsayed
d415e5bb3a Add flag to use safe snapshot timestamps 2019-08-26 14:29:48 -07:00
rajashree
6adafad92a Disable update on some etcdbackup fields 2019-08-26 14:29:03 -07:00
rajashree
39870f5624 Generated changes 2019-08-26 11:59:10 -07:00
rajashree
b595dbd1a3 Add cluster capability to indicate taints support 2019-08-26 11:59:10 -07:00
Prachi Damle
9d2b59dedc add enable disable clustertemplaterevision actions 2019-08-26 10:24:30 -07:00
rmweir
d566e23522 Add wait and timeout to mcapp 2019-08-23 16:50:54 -07:00
Chris Kim
972bca92b4 Add DNS Policy Field 2019-08-23 13:59:14 -07:00
Frank Mai
376c6f64c7 Go generated 2019-08-21 20:04:41 -07:00
Frank Mai
719551e498 Windows refactor
- Don't need `RKEK8sWindowsSystemImage` anymore, Windows keeps its images as the same as `RKEK8sSystemImage` via Docker manifest.
- Add `PodInfraWindowsContainer` filed into `RKESystemImages`

**Issue:**
https://github.com/rancher/rancher/issues/16460
2019-08-21 20:04:41 -07:00
Dax McDonald
d8f2cacb8d Update generated code for PutClusterScoped function 2019-08-21 17:49:59 -07:00
galal-hussein
ab1f192276 Add flex volume images to the rke types 2019-08-21 12:55:27 -07:00
rajashree
3ae2276799 Generated changes 2019-08-20 10:18:29 -07:00
rajashree
d36ab41b35 Change ingress capabilities customDefaultBackend type 2019-08-20 10:18:29 -07:00
Prachi Damle
917ccad7c0 ClusterTemplateRevision name needs to be required and non-unique 2019-08-19 11:46:10 -07:00
gitlawr
0c35fd48b3 bump pipeline-tools image to v0.1.11 2019-08-14 17:06:21 -07:00
Dan Ramich
9097b6038b
Merge pull request #921 from cbron/issue-124
Add AppRevision Project ID to Spec
2019-08-14 09:56:16 -07:00
Guangbo Chen
4ada929fe4 Update defaultRecipient of slackConfig to not required 2019-08-13 10:03:06 -07:00
gitlawr
1492046a65 Bump Jenkins version 2019-08-13 09:06:43 -07:00
Caleb Bron
1316005b16 issue-124 types 2019-08-09 09:48:26 -07:00
Dax McDonald
8c6adc8d2f Modify norman struct tag to be 1 year in seconds
Javascript only supports a max int of 2^53 so very large values
can cause errors.

Instead, use the max value of a year in seconds for node timeout limit
2019-08-08 17:33:02 -07:00
Dax McDonald
9dda5ddc02 Use norman struct tags for limits of nodepool timeout
Extreme values could overflow nodepool timeout int64 value. Now, it will
return an error for values > maxInt64 or less than 0.
2019-08-07 09:57:12 -07:00
Aiwantaozi
cc1d9c767f Add exist condition for expression alert
Problem:
current we require the user to input a threshold number, could not support
the scenario any matched condition event happens

Solution:
add exist condition and remove the required in thresdhold

Issue:
https://github.com/rancher/rancher/issues/21302
2019-08-07 08:23:28 -07:00
rajashree
97fc3864ee Add option for nested group memberships based access 2019-08-05 16:38:55 -07:00
rmweir
23c78c662d go generate 2019-07-31 12:12:52 -07:00
orangedeng
f3b0d3f5ed go generate 2019-07-31 10:29:03 -07:00
orangedeng
365da17d01 Fix marshal v1.Taint to yaml panic
**Problem:**
Marshal v1.Taint with timeAdded nil value to yaml panic.

**Solution:**
Use our own taint struct with omitempty flag of timeAdded field.
2019-07-31 10:29:03 -07:00
moelsayed
70cec52fd6 Add user types to process and etcd service 2019-07-29 17:01:14 -07:00
Guangbo Chen
facd19d687 Add monitoring version types 2019-07-26 14:51:32 -07:00
Dan Ramich
839eead94c
Merge pull request #911 from rmweir/wait-timeout-fix
Wait timeout fix
2019-07-25 10:01:25 -07:00
orangedeng
6f21918797 go generate 2019-07-24 19:00:38 -07:00
orangedeng
fec9589dd3 Add Windows prefer field to cluster
**Problem:**
We don't have a specific field for windows prefered cluster.
So UI has to guess the cluster support windows node or not.
2019-07-24 19:00:38 -07:00
orangedeng
f277b4895a Add taints field to node type
- Add desiredNodeTaints feilds to node.
- Add nodeTaints field to node pool.
- Add nodeTaints field to node template.
2019-07-24 19:00:38 -07:00
orangedeng
197b45db42 Add taints field into rke node config 2019-07-24 19:00:38 -07:00
gitlawr
b9d6b98174 Bump pipeline-tools image to v0.1.10 2019-07-22 19:55:20 -07:00
orangedeng
01e479069c go generate 2019-07-22 19:45:30 -07:00
orangedeng
35112c6ee7 Introduce APIService resource to Rancher 2019-07-22 19:45:30 -07:00
rmweir
bcc4494b9a Add timeout and wait to apps
Added timeout and wait fields to apps. Prior, there was no way for
rancher to utilize helm's timeout and wait flags. Now, values for
these flags can be read from and assigned to their respective app
fields.
2019-07-22 16:47:10 -07:00
gitlawr
d5b5108ddb Correct schedulerName, priority and priorityClassName fields 2019-07-22 16:47:05 -07:00
gitlawr
9e9f110be1 Bring back host field in HttpGet probe
Problem:
On redeploy/UI update, httpGet.host in yaml manifest is removed.

Solution:
Bring it back in API scheme
2019-07-22 16:20:21 -07:00
Alena Prokharchyk
4f65b5d2da Ingress name type to hostname 2019-07-22 12:33:13 -07:00
Prachi Damle
aa57f8af4e Generated changes 2019-07-19 11:37:59 -07:00
Prachi Damle
5b8362efd4 Drop Enforced flag from ClusterTemplate, add ClusterTemplate Questions on ClusterSpec 2019-07-19 11:37:59 -07:00
Sebastiaan van Steenis
76b4f078af Add s3 folder option 2019-07-19 11:37:06 -07:00
moelsayed
8c592cf98f remove required 2019-07-15 16:22:23 -07:00
kinarashah
80ba3fa874 add refresh action 2019-07-15 15:28:42 -07:00
Craig Jellick
7aaf17edf2
Merge pull request #739 from aiwantaozi/work2
add client key and certificate for logging fluentd
2019-07-11 13:30:25 -07:00
Aiwantaozi
218080cd20 add client key and certificate for logging fluentd
Problem:
advance mode have support client key and certificate for fluentd logging
target but normal mode not yet

Solution:
add client key and certificate for fluentd

Issue:
https://github.com/rancher/rancher/issues/18438
2019-07-11 17:01:29 +08:00
gitlawr
a0afba4d18 go generate 2019-07-10 09:57:30 +08:00
gitlawr
bd5a9e3e53 Add istio VirtualService and DestinationRule types 2019-07-10 09:57:30 +08:00
Prachi Damle
c6081c7b88 Add satisfies field to Question schema 2019-07-09 15:49:09 -07:00
Prachi Damle
8070d48db4 Generated Changes 2019-07-08 10:36:36 -07:00
Prachi Damle
cc27d74d83 ClusterTemplate remove Enabled, readonly on Cluster 2019-07-08 10:36:36 -07:00
kinarashah
7c47f85c08 go generate 2019-07-03 09:45:35 -07:00
kinarashah
d381e58a9e add rke metadata types 2019-07-03 09:45:35 -07:00
rmweir
453910517a go generate 2019-07-02 12:40:49 -07:00
rmweir
1b3c529b0c Add feature type
Added feature type, which will be used by rancher to toggle whether
features are enabled. This is part of the feature flagging feature.
2019-07-02 12:40:49 -07:00
rmweir
46ed3c5443 go generate 2019-07-02 12:40:49 -07:00
Prachi Damle
d9ade4d51d Generated changes 2019-07-01 13:19:39 -07:00
Prachi Damle
0a9f28b48e Question API on ClusterTemplates 2019-07-01 13:19:39 -07:00
Dax McDonald
a875317c20 Add DeleteNotReadyAfterSecs to nodepool spec
This enables deleting nodes after they have been unreachable
for a configurable amount of time
2019-07-01 09:59:33 -07:00
kinarashah
fa18f1e035 rke-tools v0.1.34 2019-06-26 20:38:04 -07:00
kinarashah
0a1cca6c51 Revert "rke-tools v0.1.33"
This reverts commit 1ce8b01468.
2019-06-26 14:35:06 -07:00
kinarashah
1ce8b01468 rke-tools v0.1.33 2019-06-25 14:31:44 -07:00
moelsayed
c99148dd4a rename EndpointCA 2019-06-25 12:50:37 -07:00
rajashree
4ca17511e2 Mark required fields not nullable 2019-06-25 11:32:21 -07:00
Murali Paluru
67c773940a go generate changes 2019-06-24 15:58:06 -07:00
Murali Paluru
cefb190927 adding cluster scan types 2019-06-24 15:58:06 -07:00
Sebastiaan van Steenis
2810a6fa79 Add k8s 1.15.0 2019-06-24 13:59:11 -07:00
Sebastiaan van Steenis
496633d284 Base copy for 1.15.0 2019-06-24 13:59:11 -07:00
rajashree
dc55e60da1 Make service account creds required for google oauth
In the absence of service account creds, non-admin users from google's
hosted domain cannot lookup groups, even their own groups (Restriction
from google api). So even during login we can't find out what groups the
user belongs to. Admins of hosted google domain do not have the same restriction.
So they can still search for and add groups that non-admin google users
belong to. This will cause lot of inconsistencies, since admins can add
a user's groups, but user still won't have access to rancher. So making
service account credentials a required field will avoid all this, and
searching users/groups will work equally for all google users.

Hostname should not be updatable once auth is setup, since the
principalIds assigned to users after they log into rancher contain
their google addresses which have the hostname.
2019-06-21 10:55:50 -07:00
Sebastiaan van Steenis
a10815ebfe generated code 2019-06-21 09:55:42 -07:00
Sebastiaan van Steenis
e75a7b3254 Add stubdomains to DNSConfig 2019-06-21 09:55:42 -07:00
moelsayed
190cd39189 rancher/rke-tools:v0.1.32 2019-06-20 14:40:30 -07:00
moelsayed
b5c59bf137 Add custom S3 endpoint CA Certificate option 2019-06-20 14:40:30 -07:00
Prachi Damle
5c0a7ab25a Add Enforced flag to ClusterTemplate 2019-06-19 09:43:46 -07:00
moelsayed
bca9f57c2a Remove DaysRemaining from status 2019-06-18 10:40:40 -07:00
moelsayed
df1647ccd8 generated code 2019-06-18 09:49:50 -07:00
moelsayed
a543d5e354 Add checkClusterCerts 2019-06-18 09:49:50 -07:00
Prachi Damle
c500fe26a0 Use displayName mapper for ClusterTemplate 2019-06-17 13:29:17 -07:00
Sebastiaan van Steenis
89ee078724 Remove default for dnsconfig 2019-06-17 09:57:32 -07:00
kinarashah
df0c8d4f74 k8s 1.12.9, 1.13.7, 1.14.3 2019-06-12 10:26:51 -07:00
kinarashah
54e88753b2 base copy 2019-06-12 10:26:51 -07:00
rmweir
de7ab425b1 go generate 2019-06-12 08:42:39 -07:00
rajashree
cba0b401b4 Add password tag to google oauth creds fields 2019-06-11 14:18:30 -07:00
Prachi Damle
7e7e207d1a Generated Changes 2019-06-10 15:37:51 -07:00
Prachi Damle
25bc0db738 Cluster Template Changes 2019-06-10 15:37:51 -07:00
Aiwantaozi
87e5761cad generate code 2019-06-10 12:41:13 -07:00
Aiwantaozi
be1c347b32 Support set http_proxy config on Rancher notifier
Problem:
Not support http_proxy setting now
Solution:
Add http_proxy configure for slack, pagerduty, wechat, webhook

Issue:
https://github.com/rancher/rancher/issues/17885
2019-06-10 12:41:13 -07:00
Alena Prokharchyk
7443c739c5 Removed k8s 1.11 from default k8s versions 2019-06-10 12:40:39 -07:00
orangedeng
7d28387dbe Add cluster istio enabled status
Add `IstioEnabled` to `ClusterStatus`
2019-06-06 18:09:59 -07:00
rajashree
9125ab265f Add google oauth schema 2019-06-05 15:59:01 -07:00
rajashree
264466fb30 Generated changes 2019-06-05 15:59:01 -07:00
Dan Ramich
6e717bbef8 Add rancher min/max version to templateVersion 2019-06-05 15:35:31 -07:00
Alena Prokharchyk
2c708915f3 k8s 1.14 as default 2019-06-04 17:11:15 -07:00
Frank Mai
2b4379ef07 Go generated 2019-05-31 08:36:29 -07:00
Frank Mai
8d805f6434 Update Azure Cloud Provider configuration
**Problem:**
Cannot set the below configuration items of Azure cloud provider:
- `UserAssignedIdentityID`
- `LoadBalancerSku`
- `ExcludeMasterFromStandardLB`

**Solution:**
- Add new items
- Complement the default value to `MaximumLoadBalancerRuleCount`
- Complement the usage for authentication items:
  + Service Principal: `AADClientID` and `AADClientSecret`
  + Client Principal: `AADClientCertPath` and `AADClientCertPassword`
  + Managed Identity: `UseManagedIdentityExtension` and `UserAssignedIdentityID`

**Issue:**
https://github.com/rancher/rancher/issues/20240
2019-05-31 08:36:29 -07:00
Fyery
658021e38e add istio metrics graph types 2019-05-31 08:14:13 -07:00
orangedeng
668e468c02 go generate 2019-05-31 07:57:20 -07:00
orangedeng
5694548201 Add HPA type to schema 2019-05-31 07:57:20 -07:00
Dan Ramich
3d8b362cfa Add fields to nodeDriverStatus
Problem:
Nodedrivers don't hold info on what has been applied

Solution:
Add applied fields
2019-05-30 16:19:54 -07:00
kinarashah
3e7be7adce set update False for fields of PersistentVolumeSource types 2019-05-29 11:05:52 -07:00
dax
f887817025 Update vendor and generate code 2019-05-28 18:58:21 -07:00
kinarashah
2361355c4c make update false for immutable fields of persistentVolume 2019-05-24 14:19:42 -07:00
Murali Paluru
17ad82ec47 fix openstack lb options from int to string 2019-05-23 16:48:25 -07:00
Dan Ramich
c402a22313 Update rketypes 2019-05-16 09:51:18 -07:00
Murali Paluru
83a44f5742 refactor 2019-05-14 19:45:18 -07:00
Aiwantaozi
3d66c9393f generate code 2019-05-14 09:02:10 -07:00
Aiwantaozi
7bf6a58596 add custom tags to logging test action input 2019-05-14 09:02:10 -07:00
Frank Mai
aea36dec96 Update Windows flannel-cni version
**Issue:**
https://github.com/rancher/rancher/issues/19954
2019-05-08 16:20:12 -07:00
Prachi Damle
ebd23f9ff4 GlobalDNS FQDN should be of type hostname 2019-05-08 15:22:19 -07:00
orangedeng
e1c660cd5b Add service account field to PRTB 2019-05-06 17:45:34 -07:00
Frank Mai
927dd05a5e Update Windows images & kubelet options
**Problem:**
- Cannot bootstrap v1.12+ in Windows
- Upgraded server from previous existing one will cause Windows agent
failed

**Solution:**
- Adjust kubelet bootstrap options
    - Drop cadvisor-port
    - Drop MountPropagation from feature-gates
- Public accessing AllK8sWindowsVersions
- Support v1.14 options on Windows

**Issues:**
- https://github.com/rancher/rancher/issues/17341
- https://github.com/rancher/rancher/issues/19048
2019-04-30 14:10:03 -07:00
Alena Prokharchyk
8560ab0d46 v1.14.1-rancher1-2 to the list of defaults 2019-04-29 17:32:52 -07:00
Alena Prokharchyk
c1bd3d84b5 k8s v1.14.1-rancher1-2 2019-04-29 17:21:46 -07:00
Alena Prokharchyk
62bf8cdf39 Base copy 2019-04-29 17:21:46 -07:00
Sebastiaan van Steenis
9a62166faa Add Priority admission controller for 1.14 2019-04-29 11:23:05 -07:00
Prachi Damle
39c68c3e58 Generated Changes 2019-04-26 13:30:53 -07:00
Prachi Damle
e4b70ce5a2 Change CloudFlare proxySetting parameter to bool 2019-04-26 13:30:53 -07:00
Alena Prokharchyk
2fad56290d Mirror to rancher support for minio
Also disable coredns mirror for images that were already shipped
2019-04-26 11:52:01 -07:00
Alena Prokharchyk
b6af1f0199 k8s_defaults: added an info about corresponding rancher version 2019-04-26 11:37:47 -07:00
Aiwantaozi
a894aa4cdc Update notifier to not required
Problem:
User prefer allow empty notifier

Solution:
Allow empty notifer in cluster/project group

Issue:
https://github.com/rancher/rancher/issues/18616
2019-04-25 17:18:31 -07:00
dax
233ec77bbc Generate code for new init() method 2019-04-23 13:47:46 -07:00