Commit graph

18 commits

Author SHA1 Message Date
Samuel Liu
1600fd9082
clean up tags () 2022-05-31 07:52:53 -07:00
Kenichi Omichi
f80fd24a55
Fix risky-file-permissions ()
When running ansible-lint directly, we can see a lot of warning
message like

  risky-file-permissions File permissions unset or incorrect

This fixes the warning messages.
2022-01-09 01:51:12 -08:00
Florian Ruynat
c8d7f000c9
Remove k8s hooks for versions prior to 1.20 () 2021-09-22 10:32:01 -07:00
Kenichi Omichi
486b223e01
Replace kube-master with kube_control_plane ()
This replaces kube-master with kube_control_plane because of [1]:

  The Kubernetes project is moving away from wording that is
  considered offensive. A new working group WG Naming was created
  to track this work, and the word "master" was declared as offensive.
  A proposal was formalized for replacing the word "master" with
  "control plane". This means it should be removed from source code,
  documentation, and user-facing configuration from Kubernetes and
  its sub-projects.

NOTE: The reason why this changes it to kube_control_plane not
      kube-control-plane is for valid group names on ansible.

[1]: https://github.com/kubernetes/enhancements/blob/master/keps/sig-cluster-lifecycle/kubeadm/2067-rename-master-label-taint/README.md#motivation
2021-03-23 17:26:05 -07:00
Florian Ruynat
222a77dfe7
Change node-role.kubernetes.io from master to control-plane () 2021-01-21 08:13:03 -08:00
Joel Seguillon
4c1e0b188d
Add .editorconfig file () 2020-06-29 12:39:59 -07:00
Maxime Guyot
b15d41a96a Add support to Ansible 2.9 () 2019-12-05 07:24:32 -08:00
陈谭军
8bc0710073 clean up document () 2019-10-02 04:41:07 -07:00
陈谭军
99dbc6d780 clean-up doc,spelling mistakes () 2019-09-26 04:25:08 -07:00
Andreas Krüger
818aa7aeb1 Set dnsPolicy to ClusterFirstWithHostNet when hostNetwork is true () 2019-06-05 03:17:55 -07:00
MarkusTeufelberger
88d919337e ansible-lint: don't compare to empty string [E602] () 2019-04-28 23:00:20 -07:00
Maxime Guyot
37eac010c8 ansible-lint: Don’t compare to literal True/False () 2019-04-17 08:42:03 -07:00
Maxime Guyot
ec3daedf9e Revert "Fix for unknown 'kubernetes.io' or 'k8s.io' labels specified with --node-labels ()" ()
This reverts commit 586ad89d50.
2019-04-17 07:58:06 -07:00
Robert Neumann
586ad89d50 Fix for unknown 'kubernetes.io' or 'k8s.io' labels specified with --node-labels ()
* Fix the file path for all.yml and k8s-cluster.yml

* Fix --node-labels namespace error "unknown labels specified"

* Update templates and configs kubelet node-labels
2019-04-10 04:14:12 -07:00
Victor Morales
7e4f4a96fc Replace iteritems() to items() in Jinja2 templates ()
The iteritems() dictionary's method has been removed in Python3. Using
this method in Jinja2 templates limits the execution to Python2 which
will be deprecated in 2020[1]. This change replaces that method for
the items() method as it's suggested in the official website[2].

[1] https://pythonclock.org/
[2] https://docs.ansible.com/ansible/latest/user_guide/playbooks_python_version.html#dict-iteritems
2019-04-08 00:32:26 -07:00
Jeff Bornemann
c41c1e771f OCI Cloud Provider Update ()
* OCI subnet AD 2 is not required for CCM >= 0.7.0

Reorganize OCI provider to generate configuration, rather than pull

Add pull secret option to OCI cloud provider

* Updated oci example to document new parameters
2019-02-11 12:08:53 -08:00
Jeff Bornemann
83838b7fbc Add new OCI cloud controls 2018-09-04 14:03:17 -04:00
Jeff Bornemann
94df70be98 Cloud provider support for OCI (Oracle Cloud Infrastructure)
Signed-off-by: Jeff Bornemann <jeff.bornemann@oracle.com>
2018-08-21 17:36:42 -04:00